Skip to content

Commit e503ac8

Browse files
Cecile Robert-Michonmboersma
andauthored
chore(rootfs/Dockerfile): update Azure CLI to 2.3.1 (#223)
* chore(rootfs/Dockerfile): update Azure CLI to 2.3.1 * chore: use only python3 Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com>
1 parent fd87a2a commit e503ac8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

rootfs/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:18.04
33
LABEL name="deis-go-dev" \
44
maintainer="Matt Boersma <matt.boersma@microsoft.com>"
55

6-
ENV AZCLI_VERSION=2.2.0 \
6+
ENV AZCLI_VERSION=2.3.1 \
77
DOCKER_VERSION=19.03.4 \
88
GO_VERSION=1.14.1 \
99
GLIDE_VERSION=v0.13.3 \
@@ -47,10 +47,10 @@ RUN \
4747
netcat \
4848
openssh-client \
4949
procps \
50-
python \
51-
python-dev \
52-
python-pip \
53-
python-setuptools \
50+
python3 \
51+
python3-dev \
52+
python3-pip \
53+
python3-setuptools \
5454
rsync \
5555
ruby \
5656
unzip \
@@ -107,8 +107,8 @@ RUN \
107107
&& chmod +x /usr/local/bin/shellcheck \
108108
&& curl -o /usr/local/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v{SHFMT_VERSION}/shfmt_v{SHFMT_VERSION}_linux_amd64 \
109109
&& chmod +x /usr/local/bin/shfmt \
110-
&& pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
111-
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip \
110+
&& pip3 install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
111+
&& apt-get purge --auto-remove -y libffi-dev python3-dev python3-pip \
112112
&& apt-get autoremove -y \
113113
&& apt-get clean -y \
114114
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc ${GOPATH}/pkg/* ${GOPATH}/src/* /root/cache /root/.cache \

0 commit comments

Comments
 (0)