mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Make webhookstash a static binary
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo Building functions/webhookstash:build
|
||||
|
||||
docker build -t alexellis2/faas-webhookstash .
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t functions/webhookstash:build . -f Dockerfile.build && \
|
||||
docker create --name hook_extract functions/webhookstash:build
|
||||
docker cp hook_extract:/go/src/app/app ./app
|
||||
docker rm -f hook_extract
|
||||
|
||||
echo Building functions/webhookstash:latest
|
||||
docker build --no-cache -t functions/webhookstash:latest .
|
||||
|
Reference in New Issue
Block a user