Skip to content

Commit 64db3eb

Browse files
committed
Bump alpine to 3.20.1 for ship container image
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 122808a commit 64db3eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template/golang-http/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ WORKDIR /go/src/handler
3636
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=${GOFLAGS} \
3737
go build --ldflags "-s -w" -o handler .
3838

39-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 AS ship
39+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship
4040
# Add non root user and certs
4141

4242
RUN apk --no-cache add ca-certificates \

template/golang-middleware/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ WORKDIR /go/src/handler
3333
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
3434
go build --ldflags "-s -w" -o handler .
3535

36-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 AS ship
36+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship
3737

3838
# Add non root user and certs
3939
RUN apk --no-cache add ca-certificates \

0 commit comments

Comments
 (0)