Comment in Dockerfile to explain the digest of base image (#4224)

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
Daniel Jiang
2021-10-08 20:57:29 +08:00
committed by GitHub
parent 9e52260568
commit 9996dc5ce9

View File

@@ -50,6 +50,7 @@ RUN mkdir -p /output/usr/bin && \
go build -o /output/${BIN} \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
# The digest of tag "nonroot" at the time of v1.7.0
FROM gcr.io/distroless/base-debian10@sha256:a74f307185001c69bc362a40dbab7b67d410a872678132b187774fa21718fa13
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"