diff options
author | Lidi Zheng <lidiz@google.com> | 2018-10-19 11:54:41 -0700 |
---|---|---|
committer | Lidi Zheng <lidiz@google.com> | 2018-10-19 11:54:41 -0700 |
commit | 2f038f611ab10c059a01f585bb8281296561d6b0 (patch) | |
tree | 20a5eab2dff357f7946ac90c41f09479aed5fcc2 /tools/dockerfile | |
parent | f57f142b23d3acdc339297facc9077e5f14d0728 (diff) |
Install pip for each Python version
Diffstat (limited to 'tools/dockerfile')
-rw-r--r-- | tools/dockerfile/test/python_testing_x64/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/dockerfile/test/python_testing_x64/Dockerfile b/tools/dockerfile/test/python_testing_x64/Dockerfile index 85a34c865a..0b3c5e55d8 100644 --- a/tools/dockerfile/test/python_testing_x64/Dockerfile +++ b/tools/dockerfile/test/python_testing_x64/Dockerfile @@ -72,10 +72,12 @@ RUN pip install --upgrade google-api-python-client oauth2client RUN echo 'deb http://ftp.de.debian.org/debian testing main' >> /etc/apt/sources.list RUN echo 'APT::Default-Release "stable";' | tee -a /etc/apt/apt.conf.d/00local RUN apt-get update && apt-get -t testing install -y python2.7 python3.5 python3.6 python3.7 python-all-dev python3-all-dev +# RUN apt-get -t testing install -y python3-distutils RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7 -# RUN apt-get -t testing install -y python3-distutils -# RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7 +RUN curl https://bootstrap.pypa.io/get-pip.py | python3.5 +RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6 +RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7 RUN mkdir /var/local/jenkins |