mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
11 lines
269 B
Docker
11 lines
269 B
Docker
FROM golang:1.7.5
|
|
RUN mkdir -p /go/src/app
|
|
COPY handler.go /go/src/app
|
|
WORKDIR /go/src/app
|
|
RUN go get github.com/microcosm-cc/bluemonday && \
|
|
go get github.com/russross/blackfriday
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
|
|
|
CMD ["echo"]
|