Skip to content

Commit 5193aff

Browse files
committed
fix: update Alpine version from 3.21 to 3.20 for Go 1.23 compatibility
1 parent d770a16 commit 5193aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dockerfiles/Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG GO_VERSION
2-
FROM golang:$GO_VERSION-alpine3.21 as builder
2+
FROM golang:$GO_VERSION-alpine3.20 as builder
33
# hadolint ignore=DL3018
44
RUN addgroup -S agentgroup && adduser -S agentuser -G agentgroup
55
RUN apk add --no-cache make gcc libc-dev git curl
66
WORKDIR /go/src/github.com/optimizely/agent
77
COPY . .
88
RUN make setup build
99

10-
FROM alpine:3.21
10+
FROM alpine:3.20
1111
RUN apk add --no-cache ca-certificates
1212
COPY --from=builder /go/src/github.com/optimizely/agent/bin/optimizely /optimizely
1313
COPY --from=builder /etc/passwd /etc/passwd

0 commit comments

Comments
 (0)