Skip to content

Commit 18900d1

Browse files
Merge pull request #1719 from hyperledger/update-dockerfile
fix: Dockerfile psql and trivy versions
2 parents df3fe81 + c3ab571 commit 18900d1

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/go.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,15 @@ jobs:
156156
- name: Load Docker image
157157
run: docker load --input firefly.tar.gz
158158

159+
# Pre-pull fabric-ccenv so the Fabric peer's chaincode build finds it. Required on
160+
# GitHub Actions with Docker 29: the peer invokes the host Docker build API to build
161+
# chaincode (FROM hyperledger/fabric-ccenv:2.5); with Docker 29/containerd image store
162+
# the base image is not always pulled automatically, causing "No such image" (see
163+
# GitHub runner Docker 29 upgrade and moby/moby#51779 re multi-arch/image identity).
164+
- name: Pull Fabric chaincode build image
165+
if: matrix.stack-type == 'fabric'
166+
run: docker pull hyperledger/fabric-ccenv:2.5
167+
159168
- name: Run E2E tests
160169
env:
161170
BUILD_FIREFLY: false

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ FROM alpine:3.21 AS sbom
6666
WORKDIR /
6767
ADD . /SBOM
6868
RUN apk add --no-cache curl
69-
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.68.1
69+
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.69.3
7070
RUN trivy fs --format spdx-json --output /sbom.spdx.json /SBOM
7171
RUN trivy sbom /sbom.spdx.json --severity UNKNOWN,HIGH,CRITICAL --db-repository public.ecr.aws/aquasecurity/trivy-db --exit-code 1
7272

@@ -76,7 +76,7 @@ ARG UI_TAG
7676
ARG UI_RELEASE
7777
RUN apk add --update --no-cache \
7878
sqlite=3.48.0-r4 \
79-
postgresql16-client=16.11-r0 \
79+
postgresql16-client=16.12-r0 \
8080
curl=8.14.1-r2 \
8181
jq=1.7.1-r0
8282
WORKDIR /firefly

0 commit comments

Comments
 (0)