We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24738c3 commit 7bfb663Copy full SHA for 7bfb663
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:cba10d7abd3e203428e86f5b2d7fd5eb7d8987c387864ae4996cf97191b33764
18
19
COPY --from=builder /src/version /bin/version
20
0 commit comments