mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 17:26:47 +00:00
12 lines
283 B
Docker
12 lines
283 B
Docker
FROM alexellis2/go-armhf:1.7.4
|
|
|
|
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"]
|