Skip to content

Commit

Permalink
Update alpine to 3.20.2 and watchdog for less verbose start-up
Browse files Browse the repository at this point in the history
Removes the "JWT Auth: false" message when JWT Auth is not
enabled.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Sep 3, 2024
1 parent 0a92a6c commit 94aa5c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions template/golang-http/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.4 AS watchdog
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.6 AS watchdog
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22-alpine AS build

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

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.2 AS ship
# Add non root user and certs

RUN apk --no-cache add ca-certificates \
Expand Down
4 changes: 2 additions & 2 deletions template/golang-middleware/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.4 AS watchdog
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.10.6 AS watchdog
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22-alpine AS build

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

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.1 AS ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.2 AS ship

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

0 comments on commit 94aa5c5

Please sign in to comment.