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.9.6 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18-alpine3.15 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18-alpine3.16 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
@@ -35,7 +35,7 @@ WORKDIR /go/src/handler
3535RUN 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.15
38+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.2 as ship
3939# Add non root user and certs
4040RUN apk --no-cache add ca-certificates \
4141 && 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.9.6 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18-alpine3.15 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18-alpine3.16 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
@@ -34,7 +34,7 @@ WORKDIR /go/src/handler
3434RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
3535 go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
3636
37- FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15 as ship
37+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.2 as ship
3838
3939# Add non root user and certs
4040RUN apk --no-cache add ca-certificates \
You can’t perform that action at this time.
0 commit comments