Skip to content

Commit b5114a9

Browse files
authored
Upgrade dockerfile. (#243)
Signed-off-by: xuezhaojun <[email protected]>
1 parent 7bcbdcf commit b5114a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.0 as builder
2+
FROM golang:1.24 as builder
33

44
WORKDIR /workspace
55

@@ -38,7 +38,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a \
3838

3939
# Use distroless as minimal base image to package the manager binary
4040
# Refer to https://github.com/GoogleContainerTools/distroless for more details
41-
FROM alpine:3.13
41+
FROM alpine:3.21
4242

4343
WORKDIR /
4444
RUN apk add libc6-compat

0 commit comments

Comments
 (0)