Skip to content

Commit 365a848

Browse files
committed
Update Alpine version for shipping images to alpine:3.19.1
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent fdd66eb commit 365a848

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
@@ -37,7 +37,7 @@ WORKDIR /go/src/handler
3737
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=${GOFLAGS} \
3838
go build --ldflags "-s -w" -o handler .
3939

40-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.18.4 as ship
40+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 as ship
4141
# Add non root user and certs
4242

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

template/golang-middleware/Dockerfile

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

37-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.18.4 as ship
37+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 as ship
3838

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

0 commit comments

Comments
 (0)