From 94aa5c59906d7edd6983ccd56a3ce8125af78d00 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Tue, 3 Sep 2024 15:25:22 +0100 Subject: [PATCH] Update alpine to 3.20.2 and watchdog for less verbose start-up Removes the "JWT Auth: false" message when JWT Auth is not enabled. Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- template/golang-http/Dockerfile | 4 ++-- template/golang-middleware/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/template/golang-http/Dockerfile b/template/golang-http/Dockerfile index 3e2d716..f18a23b 100644 --- a/template/golang-http/Dockerfile +++ b/template/golang-http/Dockerfile @@ -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 @@ -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 \ diff --git a/template/golang-middleware/Dockerfile b/template/golang-middleware/Dockerfile index a4a817c..f5e2f15 100644 --- a/template/golang-middleware/Dockerfile +++ b/template/golang-middleware/Dockerfile @@ -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 @@ -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 \