File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM golang:1.6.0
22
3- ENV GO15VENDOREXPERIMENT=1
4- ENV GLIDE_HOME=/root
5-
6- WORKDIR /tmp
3+ ENV GLIDE_VERSION=0.10.2 GLIDE_HOME=/root GO15VENDOREXPERIMENT=1
74
85RUN apt-get update && apt-get install -y \
96 jq \
@@ -12,9 +9,8 @@ RUN apt-get update && apt-get install -y \
129 zip \
1310 --no-install-recommends \
1411 && rm -rf /var/lib/apt/lists/* \
15- && curl -L https://github.com/Masterminds/glide/releases/download/0.10.1/glide-0.10.1-linux-amd64.tar.gz | tar xvz \
16- && mv linux-amd64/glide /usr/local/bin/ \
17- && rm -rf linux-amd64 \
12+ && curl -sSL https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz \
13+ | tar -vxz -C /usr/local/bin --strip=1 \
1814 && curl -L https://s3-us-west-2.amazonaws.com/get-deis/shellcheck-0.4.3-linux-amd64 -o /usr/local/bin/shellcheck \
1915 && chmod +x /usr/local/bin/shellcheck \
2016 && go get -u -v \
You can’t perform that action at this time.
0 commit comments