Skip to content

Commit ee41638

Browse files
committed
Update of-watchdog to 0.10.9 and alpine to 3.21.3
* Includes header showing time taken to authenticate JWT tokens * Updates alpine version for runtime Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent a30c6e1 commit ee41638

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

template/golang-http/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.7 AS watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.9 AS watchdog
22
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-alpine AS build
33

44
ARG TARGETPLATFORM
@@ -36,7 +36,7 @@ WORKDIR /go/src/handler
3636
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=${GOFLAGS} \
3737
go build --ldflags "-s -w" -o handler .
3838

39-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.21.2 AS ship
39+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.21.3 AS ship
4040
# Add non root user and certs
4141

4242
RUN apk --no-cache add ca-certificates \

template/golang-middleware/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.7 AS watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.9 AS watchdog
22
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-alpine AS build
33

44
ARG TARGETPLATFORM
@@ -33,7 +33,7 @@ WORKDIR /go/src/handler
3333
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
3434
go build --ldflags "-s -w" -o handler .
3535

36-
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.21.2 AS ship
36+
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.21.3 AS ship
3737

3838
# Add non root user and certs
3939
RUN apk --no-cache add ca-certificates \

0 commit comments

Comments
 (0)