Transition from virtualenv to venv (#1094)
This commit is contained in:
Родитель
24afa6d99a
Коммит
d3a7359dc3
|
@ -25,6 +25,7 @@ RUN apt-get update && \
|
|||
locales-all \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
software-properties-common \
|
||||
sudo \
|
||||
tzdata \
|
||||
|
@ -35,9 +36,8 @@ RUN apt-get update && \
|
|||
ENV LANG=en_US.utf8
|
||||
|
||||
RUN ln -sf /usr/bin/python3 /usr/bin/python && \
|
||||
python3 -m pip install virtualenv==20.17.1 --break-system-packages && \
|
||||
python3 -m pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
|
||||
python3 -m pip install ./helix_scripts-*-py3-none-any.whl --break-system-packages
|
||||
pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
|
||||
pip install ./helix_scripts-*-py3-none-any.whl --break-system-packages
|
||||
|
||||
# Add MsQuic
|
||||
RUN curl -LO https://packages.microsoft.com/keys/microsoft.asc && \
|
||||
|
@ -57,4 +57,4 @@ RUN /usr/sbin/adduser --disabled-password --gecos '' --uid 1000 --shell /bin/bas
|
|||
|
||||
USER helixbot
|
||||
|
||||
RUN python -m virtualenv /home/helixbot/.vsts-env
|
||||
RUN python3 -m venv /home/helixbot/.vsts-env
|
||||
|
|
Загрузка…
Ссылка в новой задаче