Remove the ensurepip for Python 3.7

pull/20181/head
Lidi Zheng 6 years ago
parent 6620a74b72
commit 113b2f2225
  1. 3
      templates/tools/dockerfile/test/python_stretch_default_x64/Dockerfile.template
  2. 3
      tools/dockerfile/test/python_stretch_default_x64/Dockerfile

@ -30,8 +30,7 @@
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7
# for Python test coverage reporting
RUN python3.7 -m ensurepip && ${'\\'}
python3.7 -m pip install coverage
RUN python3.7 -m pip install coverage
RUN python3.6 -m ensurepip && ${'\\'}
python3.6 -m pip install coverage

@ -81,8 +81,7 @@ RUN apt-get update && apt-get -t buster install -y python3.7 python3-all-dev
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7
# for Python test coverage reporting
RUN python3.7 -m ensurepip && \
python3.7 -m pip install coverage
RUN python3.7 -m pip install coverage
RUN python3.6 -m ensurepip && \
python3.6 -m pip install coverage

Loading…
Cancel
Save