Skip to content

Commit 5a09b13

Browse files
committed
build: fix golang version in Dockerfile
1 parent e78e29c commit 5a09b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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 --platform=${BUILDPLATFORM} golang:1.22-alpine3.19 AS builder
2+
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.20 AS builder
33

44
WORKDIR /workspace
55

@@ -38,7 +38,7 @@ RUN --mount=type=cache,target="/root/.cache/go-build" \
3838
go build -ldflags="$LD_FLAGS" -o manager cmd/cache/main.go && \
3939
go build -ldflags="$LD_FLAGS" -o registry-proxy cmd/proxy/main.go
4040

41-
FROM alpine:3.19 AS alpine
41+
FROM alpine:3.20 AS alpine
4242

4343
COPY --from=builder /workspace/manager /usr/local/bin/
4444
COPY --from=builder /workspace/registry-proxy /usr/local/bin/

0 commit comments

Comments
 (0)