mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
**What** - Move the new secrets sample function to ApiKeyProtected-Secrets - Bring back the original ApiKeyProtected sample function Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
10 lines
176 B
Docker
10 lines
176 B
Docker
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"]
|
|
|