mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 00:06:38 +00:00
Bump alpine to 3.11
There's a new release which appears to have no apparent down- sides or breakages. https://www.alpinelinux.org/posts/Alpine-3.11.2-released.html Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
76e463a7a0
commit
b45e2a52a4
@ -16,7 +16,7 @@ RUN license-check -path ./ --verbose=false "OpenFaaS Authors" "OpenFaaS Author(s
|
||||
go build --ldflags "-s -w" -a -installsuffix cgo -o handler . && \
|
||||
go test $(go list ./... | grep -v /vendor/) -cover
|
||||
|
||||
FROM alpine:3.10 as ship
|
||||
FROM alpine:3.11 as ship
|
||||
# Add non-root user
|
||||
RUN addgroup -S app && adduser -S -g app app \
|
||||
&& mkdir -p /home/app \
|
||||
|
@ -14,7 +14,7 @@ RUN license-check -path ./ --verbose=false "OpenFaaS Authors" "OpenFaaS Author(s
|
||||
&& go test $(go list ./... | grep -v /vendor/) -cover && \
|
||||
CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w" -a -installsuffix cgo -o handler .
|
||||
|
||||
FROM alpine:3.10
|
||||
FROM alpine:3.11
|
||||
# Add non-root user
|
||||
RUN addgroup -S app && adduser -S -g app app \
|
||||
&& mkdir -p /home/app \
|
||||
|
Reference in New Issue
Block a user