Skip to content

Commit

Permalink
Use the correct version of glide
Browse files Browse the repository at this point in the history
In `man/Dockerfile` we are specifying a tagged version of glide to
checkout, but never actually checking it out.
This checks out the requested version before building.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Aug 19, 2016
1 parent 09e1de2 commit ce312a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions man/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN export GLIDE=v0.11.1; \
mkdir -p ${TARGET} && \
git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \
cd ${TARGET}/glide && \
git checkout $GLIDE && \
make build && \
cp ./glide /usr/bin/glide && \
cd / && rm -rf /go/src/* /go/bin/* /go/pkg/*
Expand Down
1 change: 1 addition & 0 deletions man/Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN export GLIDE=v0.11.1; \
mkdir -p ${TARGET} && \
git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \
cd ${TARGET}/glide && \
git checkout $GLIDE && \
make build && \
cp ./glide /usr/bin/glide && \
cd / && rm -rf /go/src/* /go/bin/* /go/pkg/*
Expand Down

0 comments on commit ce312a9

Please sign in to comment.