Skip to content

Commit

Permalink
Fixes Rockerbuild
Browse files Browse the repository at this point in the history
Go shall only download not build as sources are in the src folder
  • Loading branch information
aacebedo committed Jul 16, 2016
1 parent 5fd1b50 commit b6e2125
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ ENV CGO_ENABLED=0

RUN go get -v github.com/tools/godep


RUN mkdir -p /go/src/github.com/tonistiigi/dnsdock
WORKDIR /go/src/github.com/tonistiigi/dnsdock
{{if .SRCDIR}}
MOUNT {{$SRCDIR}}:/go/src/github.com/tonistiigi/dnsdock
{{else}}
RUN go get github.com/tonistiigi/dnsdock
WORKDIR /go/src/github.com/tonistiigi/dnsdock
RUN git clone https://github.com/tonistiigi/dnsdock /go/src/github.com/tonistiigi/dnsdock
RUN git checkout {{$GIT_COMMIT}}
{{end}}

Expand Down

0 comments on commit b6e2125

Please sign in to comment.