From 3ef90ec019e983c54710459ed4d833013c364634 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Thu, 18 Aug 2016 20:03:08 -0400 Subject: [PATCH] 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 --- man/Dockerfile | 1 + man/Dockerfile.armhf | 1 + 2 files changed, 2 insertions(+) diff --git a/man/Dockerfile b/man/Dockerfile index 5657d13c92..6c11bcccff 100644 --- a/man/Dockerfile +++ b/man/Dockerfile @@ -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/* diff --git a/man/Dockerfile.armhf b/man/Dockerfile.armhf index a3552c660b..c8815c30ef 100644 --- a/man/Dockerfile.armhf +++ b/man/Dockerfile.armhf @@ -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/*