We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24738c3 commit 2835999Copy full SHA for 2835999
1 file changed
Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
14
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -installsuffix cgo \
15
-ldflags="-X github.com/version-cli/version/cmd.VERSION=${VERSION}" -o version
16
17
-FROM gcr.io/distroless/static:nonroot@sha256:2b7c93f6d6648c11f0e80a48558c8f77885eb0445213b8e69a6a0d7c89fc6ae4
+FROM gcr.io/distroless/static:nonroot@sha256:f9f84bd968430d7d35e8e6d55c40efb0b980829ec42920a49e60e65eac0d83fc
18
19
COPY --from=builder /src/version /bin/version
20
0 commit comments