File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3-alpine AS compile-image
1
+ FROM python:3-alpine3.13 AS compile-image
2
2
ARG TERRAFORM_VERSION="0.12.6"
3
3
ARG AZURE_CLI_VERSION="2.0.67"
4
4
@@ -14,6 +14,7 @@ RUN ln -s /usr/local/bin/python /usr/bin/python
14
14
RUN pip --no-cache-dir install virtualenv \
15
15
&& virtualenv /azure-cli \
16
16
&& source /azure-cli/bin/activate \
17
+ && python -m pip install --upgrade pip \
17
18
&& env CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install azure-cli==${AZURE_CLI_VERSION} \
18
19
&& deactivate
19
20
RUN bash build_scripts/freeze_requirements.sh
@@ -36,6 +37,7 @@ COPY --from=compile-image /sources/dist /dist
36
37
37
38
RUN adduser ops -Du 2342 -h /home/ops \
38
39
&& ln -s /usr/local/bin/python /usr/bin/python \
40
+ && /usr/bin/python -m pip install --upgrade pip \
39
41
&& apk add --no-cache bash zsh ca-certificates curl jq openssh-client git \
40
42
&& apk add --virtual=build gcc libffi-dev musl-dev openssl-dev make \
41
43
# Install ops python package
You can’t perform that action at this time.
0 commit comments