mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Remove obsolete docker build
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
6f8c975ee8
commit
4fb53be0e4
@ -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"]
|
||||
|
Binary file not shown.
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo Building functions/api-key-protected:build
|
||||
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||
-t functions/api-key-protected . -f Dockerfile.build
|
||||
|
||||
docker create --name render_extract functions/api-key-protected
|
||||
docker cp render_extract:/go/src/app/app ./app
|
||||
docker rm -f render_extract
|
||||
|
||||
echo Building functions/api-key-protected:latest
|
||||
docker build --no-cache -t functions/api-key-protected:latest .
|
Reference in New Issue
Block a user