diff --git a/sample-functions/ApiKeyProtected/Dockerfile.build b/sample-functions/ApiKeyProtected/Dockerfile.build deleted file mode 100644 index 146ef64f8044268aa72654832fab7d9677858074..0000000000000000000000000000000000000000 --- a/sample-functions/ApiKeyProtected/Dockerfile.build +++ /dev/null @@ -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"] - diff --git a/sample-functions/ApiKeyProtected/app b/sample-functions/ApiKeyProtected/app deleted file mode 100755 index d45bfeeabe4447adae2299fa0991a6ecda553346..0000000000000000000000000000000000000000 Binary files a/sample-functions/ApiKeyProtected/app and /dev/null differ diff --git a/sample-functions/ApiKeyProtected/build.sh b/sample-functions/ApiKeyProtected/build.sh deleted file mode 100755 index 4cc047ef81e68f18b3a34ce9190a71b6cedc60f6..0000000000000000000000000000000000000000 --- a/sample-functions/ApiKeyProtected/build.sh +++ /dev/null @@ -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 .