Skip to content

Commit

Permalink
Fixing docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandor Torok committed Aug 30, 2018
1 parent f2bb316 commit 0005c62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ RUN apk --no-cache --virtual .build-dependencies add git \
&& LDFLAGS="-X '"${BUILDINFO_PACKAGE}$VERSION"' -X '"${BUILDINFO_PACKAGE}$DATETIME"' -X '"${BUILDINFO_PACKAGE}$REPOSITORY"' -X '"${BUILDINFO_PACKAGE}$REVISION"' -X '"${BUILDINFO_PACKAGE}$BUILDER"'" \
&& echo "Build flags: $LDFLAGS" \
&& echo "Fetching dependencies..." \
&& go get -u github.com/kardianos/govendor \
&& $GOPATH/bin/govendor sync \
&& go get -v \
&& go get -u github.com/golang/dep/cmd/dep \
&& $GOPATH/bin/dep ensure -vendor-only \
&& go build -ldflags="${LDFLAGS}" \
&& mv ${PROJECT} /${PROJECT} \
&& mv runtime / \
Expand Down

0 comments on commit 0005c62

Please sign in to comment.