File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 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
22ARG TERRAFORM_VERSION="0.12.6"
33ARG AZURE_CLI_VERSION="2.0.67"
44
@@ -14,6 +14,7 @@ RUN ln -s /usr/local/bin/python /usr/bin/python
1414RUN pip --no-cache-dir install virtualenv \
1515 && virtualenv /azure-cli \
1616 && source /azure-cli/bin/activate \
17+ && python -m pip install --upgrade pip \
1718 && env CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install azure-cli==${AZURE_CLI_VERSION} \
1819 && deactivate
1920RUN bash build_scripts/freeze_requirements.sh
@@ -36,6 +37,7 @@ COPY --from=compile-image /sources/dist /dist
3637
3738RUN adduser ops -Du 2342 -h /home/ops \
3839 && ln -s /usr/local/bin/python /usr/bin/python \
40+ && /usr/bin/python -m pip install --upgrade pip \
3941 && apk add --no-cache bash zsh ca-certificates curl jq openssh-client git \
4042 && apk add --virtual=build gcc libffi-dev musl-dev openssl-dev make \
4143 # Install ops python package
You can’t perform that action at this time.
0 commit comments