Skip to content

Commit

Permalink
Update Alpine version for shipping images to alpine:3.19.1
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed May 17, 2024
1 parent fdd66eb commit 365a848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/golang-http/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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.18.4 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 as ship
# Add non root user and certs

RUN apk --no-cache add ca-certificates \
Expand Down
2 changes: 1 addition & 1 deletion template/golang-middleware/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ WORKDIR /go/src/handler
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build --ldflags "-s -w" -o handler .

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

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

0 comments on commit 365a848

Please sign in to comment.