File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.8.4 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.13 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.14 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
@@ -37,7 +37,7 @@ WORKDIR /go/src/handler
3737RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
3838 go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
3939
40- FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.13
40+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.14
4141# Add non root user and certs
4242RUN apk --no-cache add ca-certificates \
4343 && addgroup -S app && adduser -S -g app app
Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.8.4 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.13 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.14 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
@@ -36,7 +36,7 @@ WORKDIR /go/src/handler
3636RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
3737 go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
3838
39- FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.13
39+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.14
4040# Add non root user and certs
4141RUN apk --no-cache add ca-certificates \
4242 && addgroup -S app && adduser -S -g app app
You can’t perform that action at this time.
0 commit comments