File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ENV AZCLI_VERSION=2.0.45 \
99 HELM_VERSION=v2.6.0 \
1010 KUBECTL_VERSION=v1.11.2 \
1111 SHELLCHECK_VERSION=v0.4.6 \
12+ ETCDCTL_VERSION=v3.1.8 \
1213 PATH=$PATH:/usr/local/go/bin:/go/bin:/usr/local/bin/docker \
1314 GOPATH=/go
1415
6970 && tar xzvf docker-17.05.0-ce.tgz -C /usr/local/bin \
7071 && chmod +x -R /usr/local/bin/docker \
7172 && rm docker-17.05.0-ce.tgz \
73+ && curl -L https://github.com/coreos/etcd/releases/download/$ETCDCTL_VERSION/etcd-$ETCDCTL_VERSION-linux-amd64.tar.gz -o /tmp/etcd-$ETCDCTL_VERSION.tar.gz \
74+ && tar -C /tmp -xvzf /tmp/etcd-$ETCDCTL_VERSION.tar.gz --strip-components=1 etcd-$ETCDCTL_VERSION-linux-amd64/etcdctl \
75+ && mv /tmp/etcdctl /usr/local/bin/etcdctl-$ETCDCTL_VERSION \
76+ && rm /tmp/etcd-$ETCDCTL_VERSION.tar.gz \
7277 && go get -u -v \
7378 github.com/AlekSi/gocov-xml \
7479 github.com/axw/gocov/gocov \
You can’t perform that action at this time.
0 commit comments