Use the correct version of glide

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 <cpuguy83@gmail.com>
Upstream-commit: ce312a910c275da854880e1746332cae7d82e9df
Component: engine
This commit is contained in:
Brian Goff
2016-08-18 20:03:08 -04:00
parent cd9d633b0a
commit 966bd9ff19
2 changed files with 2 additions and 0 deletions

View File

@ -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/*

View File

@ -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/*