Skip to content
Snippets Groups Projects
Commit 2700a156 authored by Alex Ellis's avatar Alex Ellis
Browse files

Update builder to use functions/ namespace

parent 1cff3601
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,13 @@
# Below makes use of "builder pattern" so that binary is extracted separate
# from the golang runtime/SDK
echo Building alexellis2/faas-watchdog:build-armhf
echo Building functions/watchdog:build-armhf
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t alexellis2/faas-watchdog:build-armhf . -f Dockerfile.armhf
docker create --name buildoutput alexellis2/faas-watchdog:build-armhf echo
-t functions/watchdog:build-armhf . -f Dockerfile.armhf
docker create --name buildoutput functions/watchdog:build-armhf echo
docker cp buildoutput:/go/src/app/app ./fwatchdog-armhf
docker rm buildoutput
......@@ -4,7 +4,7 @@
# from the golang runtime/SDK
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t alexellis2/faas-watchdog:build .
docker create --name buildoutput alexellis2/faas-watchdog:build echo
-t functions/watchdog:build .
docker create --name buildoutput functions/watchdog:build echo
docker cp buildoutput:/go/src/app/app ./fwatchdog
docker rm buildoutput
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment