File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ # not relevant to the way grpc is used in fabconnect
2+ # see https://github.com/hyperledger/firefly-fabconnect/pull/123#discussion_r1543748524
3+ GHSA-m425-mq94-257g
Original file line number Diff line number Diff line change @@ -7,10 +7,19 @@ RUN mkdir /.cache \
77 && chmod -R g+rwX /.cache
88RUN make
99
10+ FROM alpine:3.19 AS SBOM
11+ WORKDIR /
12+ COPY . /SBOM
13+ RUN apk add --no-cache curl
14+ RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.48.3
15+ RUN trivy fs --format spdx-json --output /sbom.spdx.json /SBOM
16+ RUN trivy sbom /sbom.spdx.json --severity UNKNOWN,HIGH,CRITICAL --exit-code 1 --ignorefile /SBOM/.trivyignore
17+
1018FROM alpine:3.19
1119RUN apk add curl
1220WORKDIR /fabconnect
1321COPY --from=fabconnect-builder /fabconnect/fabconnect ./
1422ADD ./openapi ./openapi/
1523RUN ln -s /fabconnect/fabconnect /usr/bin/fabconnect
24+ COPY --from=SBOM /sbom.spdx.json /sbom.spdx.json
1625ENTRYPOINT [ "fabconnect" ]
You can’t perform that action at this time.
0 commit comments