File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.9.11 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19 -alpine as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20 -alpine as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
@@ -37,7 +37,7 @@ WORKDIR /go/src/handler
3737RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=${GOFLAGS} \
3838 go build --ldflags "-s -w" -o handler .
3939
40- FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17 .2 as ship
40+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.18 .2 as ship
4141# Add non root user and certs
4242
4343RUN apk --no-cache add ca-certificates \
Original file line number Diff line number Diff line change 11module handler
22
3- go 1.18
3+ go 1.19
44
55require github.com/openfaas/templates-sdk/go-http v0.0.0-20220408082716-5981c545cb03
Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.9.11 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19 -alpine as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20 -alpine 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" -o handler .
3636
37- FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17 .2 as ship
37+ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.18 .2 as ship
3838
3939# Add non root user and certs
4040RUN apk --no-cache add ca-certificates \
Original file line number Diff line number Diff line change 11module handler
22
3- go 1.18
3+ go 1.19
You can’t perform that action at this time.
0 commit comments