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 \