Skip to content

Commit

Permalink
Build from local
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriaan de Jonge committed Jul 4, 2014
1 parent 2be7196 commit f91173f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
@@ -1,4 +1,4 @@
FROM google/golang
RUN CGO_ENABLED=0 go get -a -ldflags '-s' github.com/adriaandejonge/helloworld
WORKDIR /gopath
CMD docker build -t adejonge/helloworld github.com/adriaandejonge/helloworld
RUN cp /gopath/src/github.com/adriaandejonge/helloworld/Dockerfile /gopath
CMD docker build -t adejonge/helloworld gopath

0 comments on commit f91173f

Please sign in to comment.