We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe75a7 commit a552df7Copy full SHA for a552df7
Dockerfile
@@ -1,5 +1,4 @@
1
-FROM --platform=$BUILDPLATFORM cgr.dev/chainguard/wolfi-base as build
2
-RUN apk update && apk add build-base git openssh go-1.21
+FROM --platform=$BUILDPLATFORM golang:1.23-alpine as build
3
4
WORKDIR /work
5
@@ -14,8 +13,7 @@ RUN \
14
13
fi; \
15
GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -v ./cmd/golink
16
17
-
18
-FROM cgr.dev/chainguard/static:latest
+FROM gcr.io/distroless/static-debian12:nonroot
19
20
ENV HOME /home/nonroot
21
0 commit comments