Skip to content

Commit

Permalink
Fixed Dockerfile to support vendoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Panziera, Luca committed Mar 28, 2017
1 parent 6353cf9 commit 7bccd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN apk --update add git go libc-dev bzr ca-certificates \
&& REPO_PATH="github.com/Financial-Times/publish-availability-monitor" \
&& mkdir -p $GOPATH/src/${REPO_PATH} \
&& mv /source/* $GOPATH/src/${REPO_PATH} \
&& cd $GOPATH/src/${REPO_PATH} \
&& go get -u github.com/kardianos/govendor \
&& $GOPATH/bin/govendor sync \
&& cd $GOPATH/src/${REPO_PATH} \
&& go build -ldflags="${LDFLAGS}" \
&& mv publish-availability-monitor / \
&& apk del git go libc-dev bzr \
Expand Down

0 comments on commit 7bccd4d

Please sign in to comment.