Skip to content

Commit fa449de

Browse files
viveksynghalexellis
authored andcommitted
Bump alpine version to 3.12
Signed-off-by: Vivek Singh <[email protected]>
1 parent 40a4c89 commit fa449de

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
@@ -27,7 +27,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
2727
go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
2828
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go test handler/function/... -cover
2929

30-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.11
30+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.12
3131
# Add non root user and certs
3232
RUN apk --no-cache add ca-certificates \
3333
&& addgroup -S app && adduser -S -g app app \

template/golang-middleware/Dockerfile

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

38-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.11
38+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.12
3939
# Add non root user and certs
4040
RUN apk --no-cache add ca-certificates \
4141
&& addgroup -S app && adduser -S -g app app \

0 commit comments

Comments
 (0)