Browse code

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>

Brian Goff authored on 2016/08/19 09:03:08
Showing 2 changed files
... ...
@@ -9,6 +9,7 @@ RUN     export GLIDE=v0.11.1; \
9 9
         mkdir -p ${TARGET} && \
10 10
         git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \
11 11
         cd ${TARGET}/glide && \
12
+        git checkout $GLIDE && \
12 13
         make build && \
13 14
         cp ./glide /usr/bin/glide && \
14 15
         cd / && rm -rf /go/src/* /go/bin/* /go/pkg/*
... ...
@@ -9,6 +9,7 @@ RUN     export GLIDE=v0.11.1; \
9 9
         mkdir -p ${TARGET} && \
10 10
         git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \
11 11
         cd ${TARGET}/glide && \
12
+        git checkout $GLIDE && \
12 13
         make build && \
13 14
         cp ./glide /usr/bin/glide && \
14 15
         cd / && rm -rf /go/src/* /go/bin/* /go/pkg/*