Skip to content

Commit

Permalink
Do not depend on code during dep ensure
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspeitz committed May 8, 2018
1 parent 2203682 commit 014cd57
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 @@ -5,7 +5,7 @@ RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
WORKDIR /go/src/app
ADD ./Gopkg.lock ./
ADD ./Gopkg.toml ./
RUN dep ensure
RUN dep ensure -vendor-only

Add ./ ./
ENV GOOS darwin
Expand Down

0 comments on commit 014cd57

Please sign in to comment.