@@ -5,7 +5,7 @@ LABEL name="drycc-go-dev"
55ENV AZCLI_VERSION=2.9.1 \
66 DOCKER_VERSION=18.09 \
77 GO_VERSION=1.14.6 \
8- HELM_VERSION=v2.16.9 \
8+ HELM_VERSION=v3.2.4 \
99 KUBECTL_VERSION=v1.18.6 \
1010 SHELLCHECK_VERSION=v0.7.1 \
1111 ETCDCTL_VERSION=v3.4.10 \
3535 netcat \
3636 openssh-client \
3737 procps \
38- python \
39- python-dev \
40- python-pip \
41- python-setuptools \
38+ python3 \
39+ python3-dev \
40+ python3-pip \
4241 rsync \
4342 ruby \
4443 unzip \
5655 && curl -L https://storage.googleapis.com/golang/go$GO_VERSION.linux-amd64.tar.gz | tar -C /usr/local -xz \
5756 && curl -L https://storage.googleapis.com/k8s-claimer/git-e4dcc16/k8s-claimer-git-e4dcc16-linux-amd64 -o /usr/local/bin/k8s-claimer \
5857 && chmod +x /usr/local/bin/k8s-claimer \
59- && curl -sSL -o /tmp/protoc.zip https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip \
60- && unzip /tmp/protoc.zip 'bin/protoc' -d /usr/local \
61- && rm /tmp/protoc.zip \
6258 && curl -sSL https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
6359 && chmod +x /usr/local/bin/kubectl \
6460 && mkdir -p $GOPATH/src/k8s.io/helm \
9389 && ln -s ${GOPATH}/bin/gometalinter.v2 ${GOPATH}/bin/gometalinter \
9490 && gometalinter.v2 --install \
9591 && curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION \
96- && pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
97- && apt-get purge --auto-remove -y libffi-dev python -dev python -pip \
92+ && pip3 install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
93+ && apt-get purge --auto-remove -y libffi-dev python3 -dev python3 -pip \
9894 && apt-get autoremove -y \
9995 && apt-get clean -y \
10096 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
0 commit comments