mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Note, not all `alexellis/github` references should be changed, there are a number of repos which are not part of the openfaas org, this commit excludes those. Signed-off-by: John McCabe <john@johnmccabe.net>
14 lines
494 B
Bash
Executable File
14 lines
494 B
Bash
Executable File
#!/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/openfaas/faas/gateway/app ./gateway
|
|
docker rm -f gateway_extract
|
|
|
|
echo Building functions/gateway:latest-armhf-dev
|
|
|
|
docker build -t functions/gateway:latest-armhf-dev .
|