Skip to content

Commit

Permalink
Bump alpine to 3.20.1 for ship container image
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jul 12, 2024
1 parent 122808a commit 64db3eb
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 @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion template/golang-middleware/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 64db3eb

Please sign in to comment.