Added hello-go example to make example image faster.

This commit is contained in:
Travis Reeder
2016-10-12 00:08:22 -07:00
parent df3d5b48ce
commit e85c7560c3
17 changed files with 80 additions and 11 deletions

8
examples/hello-go/build.sh Executable file
View 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 .