mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 21:06:54 +00:00
7 lines
174 B
Docker
7 lines
174 B
Docker
FROM golang:1.7.3
|
|
RUN mkdir -p /go/src/app
|
|
COPY main.go /go/src/app
|
|
WORKDIR /go/src/app
|
|
RUN go get -d -v
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|