mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Update alpine version for basic-auth-plugin
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
parent
ce5ea178ec
commit
dc2a7a0c6e
@ -1 +1,2 @@
|
|||||||
theme: jekyll-theme-cayman
|
theme: jekyll-theme-cayman
|
||||||
|
|
||||||
|
@ -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 \
|
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
|
||||||
--ldflags "-s -w" -a -installsuffix cgo -o handler .
|
--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
|
# Add non-root user
|
||||||
RUN addgroup -S app && adduser -S -g app app \
|
RUN addgroup -S app && adduser -S -g app app \
|
||||||
&& mkdir -p /home/app \
|
&& mkdir -p /home/app \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user