mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Update NS to functions/ from alexellis2/faas-
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo Building alexellis2/faas-gateway:build-armhf
|
||||
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||
-t alexellis2/faas-gateway:build-armhf . -f Dockerfile.build.armhf
|
||||
|
||||
docker create --name gateway_extract alexellis2/faas-gateway:build-armhf echo
|
||||
docker cp gateway_extract:/go/src/github.com/alexellis/faas/gateway/app ./gateway
|
||||
docker rm -f gateway_extract
|
||||
|
||||
echo Building alexellis2/faas-gateway:latest-armhf-dev
|
||||
|
||||
docker build -t alexellis2/faas-gateway:latest-armhf-dev .
|
13
gateway/build.armhf.sh
Executable file
13
gateway/build.armhf.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
echo Building functions/gateway:build-armhf
|
||||
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||
-t functions/gateway:build-armhf . -f Dockerfile.build.armhf
|
||||
|
||||
docker create --name gateway_extract functions/gateway:build-armhf echo
|
||||
docker cp gateway_extract:/go/src/github.com/alexellis/faas/gateway/app ./gateway
|
||||
docker rm -f gateway_extract
|
||||
|
||||
echo Building functions/gateway:latest-armhf-dev
|
||||
|
||||
docker build -t functions/gateway:latest-armhf-dev .
|
@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
echo Building alexellis2/faas-gateway:build
|
||||
echo Building functions/gateway:build
|
||||
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||
-t alexellis2/faas-gateway:build . -f Dockerfile.build
|
||||
-t functions/gateway:build . -f Dockerfile.build
|
||||
|
||||
docker create --name gateway_extract alexellis2/faas-gateway:build
|
||||
docker create --name gateway_extract functions/gateway:build
|
||||
docker cp gateway_extract:/go/src/github.com/alexellis/faas/gateway/app ./gateway
|
||||
docker rm -f gateway_extract
|
||||
|
||||
echo Building alexellis2/faas-gateway:latest
|
||||
echo Building functions/gateway:latest
|
||||
|
||||
docker build --no-cache -t alexellis2/faas-gateway:latest-dev .
|
||||
docker build --no-cache -t functions/gateway:latest-dev .
|
||||
|
Reference in New Issue
Block a user