mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Added hello-go example to make example image faster.
This commit is contained in:
8
examples/hello-go/build.sh
Executable file
8
examples/hello-go/build.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
set -ex
|
||||
|
||||
USERNAME=iron
|
||||
IMAGE=hello
|
||||
|
||||
# build it
|
||||
docker run --rm -v "$PWD":/go/src/github.com/iron/hello -w /go/src/github.com/iron/hello iron/go:dev go build -o hello
|
||||
docker build -t $USERNAME/$IMAGE .
|
||||
Reference in New Issue
Block a user