1 parent dca89b0 commit 511bf5fCopy full SHA for 511bf5f
1 file changed
tools/harbor-sbom-browser/Dockerfile
@@ -13,6 +13,11 @@ RUN microdnf install -y yum \
13
&& yum clean all \
14
&& microdnf clean all
15
16
+# cosign caches the sigstore trusted root and the ctlog public keys below `$HOME/.sigstore`.
17
+# The container runs as an unprivileged user whose home directory would otherwise be `/`, which
18
+# is not writable, and every attestation verification would fail.
19
+ENV HOME=/tmp
20
+
21
COPY --from=builder /app/harbor-sbom-browser /
22
23
ENTRYPOINT ["/harbor-sbom-browser"]
0 commit comments