From 64db3ebed6f02632ceb7688ee969277e9e93768a Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Fri, 12 Jul 2024 09:04:27 +0100 Subject: [PATCH] Bump alpine to 3.20.1 for ship container image Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- template/golang-http/Dockerfile | 2 +- template/golang-middleware/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/golang-http/Dockerfile b/template/golang-http/Dockerfile index c22c463..89ecd66 100644 --- a/template/golang-http/Dockerfile +++ b/template/golang-http/Dockerfile @@ -36,7 +36,7 @@ WORKDIR /go/src/handler RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=${GOFLAGS} \ go build --ldflags "-s -w" -o handler . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 AS ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship # Add non root user and certs RUN apk --no-cache add ca-certificates \ diff --git a/template/golang-middleware/Dockerfile b/template/golang-middleware/Dockerfile index f5d8b0e..949ba6b 100644 --- a/template/golang-middleware/Dockerfile +++ b/template/golang-middleware/Dockerfile @@ -33,7 +33,7 @@ WORKDIR /go/src/handler RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} \ go build --ldflags "-s -w" -o handler . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 AS ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship # Add non root user and certs RUN apk --no-cache add ca-certificates \