fix broken docker build for python distribtest base images

pull/14706/head
Jan Tattermusch 7 years ago
parent e2d47e84ac
commit 8f841d23f6
  1. 2
      tools/dockerfile/distribtest/python_arch_x64/Dockerfile
  2. 4
      tools/dockerfile/distribtest/python_ubuntu1204_x64/Dockerfile
  3. 4
      tools/dockerfile/distribtest/python_wheezy_x64/Dockerfile

@ -18,4 +18,4 @@ RUN pacman --noconfirm -Syy
RUN pacman --noconfirm -S openssl
RUN pacman --noconfirm -S python2
RUN pacman --noconfirm -S python2-pip
RUN pip install virtualenv
RUN pip2 install virtualenv

@ -16,4 +16,6 @@ FROM ubuntu:12.04
RUN apt-get update -y && apt-get install -y python python-pip
RUN pip install virtualenv
# Use --index-url to workaround
# https://stackoverflow.com/questions/21294997/pip-connection-failure-cannot-fetch-index-base-url-http-pypi-python-org-simpl
RUN pip install --index-url=https://pypi.python.org/simple/ virtualenv

@ -16,4 +16,6 @@ FROM debian:wheezy
RUN apt-get update -y && apt-get install -y python python-pip
RUN pip install virtualenv
# Use --index-url to workaround
# https://stackoverflow.com/questions/21294997/pip-connection-failure-cannot-fetch-index-base-url-http-pypi-python-org-simpl
RUN pip install --index-url=https://pypi.python.org/simple/ virtualenv

Loading…
Cancel
Save