mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 00:03:24 +00:00
10 lines
273 B
Bash
Executable File
10 lines
273 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 -t watchdog:latest .
|
|
docker create --name buildoutput watchdog:latest
|
|
docker cp buildoutput:/go/src/app/app ./fwatchdog
|
|
docker rm buildoutput
|