Update alpine version for basic-auth-plugin

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2022-08-24 18:31:14 +01:00
parent ce5ea178ec
commit dc2a7a0c6e
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1,2 @@
theme: jekyll-theme-cayman

View File

@ -26,7 +26,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go test -v
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
--ldflags "-s -w" -a -installsuffix cgo -o handler .
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.1 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.2 as ship
# Add non-root user
RUN addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \