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 ec4f4bb commit efe19a6Copy full SHA for efe19a6
Dockerfile
@@ -1,7 +1,7 @@
1
############################
2
# STEP 1 build executable binary
3
4
-FROM golang:1.22-bullseye AS build
+FROM golang:1.22.3-bookworm AS build
5
6
RUN useradd -u 1001 nonroot
7
RUN update-ca-certificates
@@ -14,7 +14,7 @@ RUN CGO_ENABLED=1 go build -buildvcs=false -ldflags="-linkmode external -extldfl
14
15
# STEP 2 create final image
16
17
-FROM scratch
+FROM debian:bookworm-slim
18
19
WORKDIR /go/bin
20
0 commit comments