mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 14:23:25 +00:00
Include markdown sample
Fix UI refresh problem Enable invocation from portal
This commit is contained in:
12
sample-functions/MarkdownRender/build.sh
Executable file
12
sample-functions/MarkdownRender/build.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
echo Building alexellis2/faas-markdownrender:build
|
||||
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||
-t alexellis2/faas-markdownrender . -f Dockerfile.build
|
||||
|
||||
docker create --name render_extract alexellis2/faas-markdownrender
|
||||
docker cp render_extract:/go/src/app/app ./app
|
||||
docker rm -f render_extract
|
||||
|
||||
echo Building alexellis2/faas-markdownrender:latest
|
||||
docker build --no-cache -t alexellis2/faas-markdownrender:latest .
|
Reference in New Issue
Block a user