mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
Update stage name in Dockerfile
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
d272bfb781
commit
c8e033f77a
@ -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
|
||||
FROM alpine:3.10 as ship
|
||||
# Add non-root user
|
||||
RUN addgroup -S app && adduser -S -g app app \
|
||||
&& mkdir -p /home/app \
|
||||
|
Loading…
x
Reference in New Issue
Block a user