mirror of
https://github.com/openfaas/faas.git
synced 2025-06-13 18:56:46 +00:00
11 lines
421 B
Bash
Executable File
11 lines
421 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Below makes use of "builder pattern" so that binary is extracted separate
|
|
# from the golang runtime/SDK
|
|
|
|
docker build --no-cache --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
|
-t functions/watchdog:build .
|
|
docker create --name buildoutput functions/watchdog:build echo
|
|
docker cp buildoutput:/go/src/github.com/alexellis/faas/watchdog/watchdog ./fwatchdog
|
|
docker rm buildoutput
|