mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 13:06:40 +00:00
Bump samples/versions - reduce image sizes through multi-stage builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
FROM golang:1.7.5
|
||||
RUN mkdir -p /go/src/app
|
||||
COPY handler.go /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
||||
CMD ["echo"]
|
||||
|
Reference in New Issue
Block a user