Forcing pip to use https on older docker images (#5214)

This commit is contained in:
yomna
2017-10-31 12:52:40 -07:00
committed by Brad Warren
parent e2ab940ac0
commit f962b5c83d
2 changed files with 4 additions and 0 deletions
@@ -10,6 +10,8 @@ RUN useradd --create-home --home-dir /home/lea --shell /bin/bash --groups sudo -
RUN apt-get update && \
apt-get -q -y install python-pip sudo openssl && \
apt-get clean
ENV PIP_INDEX_URL https://pypi.python.org/simple
RUN pip install nose
# Let that user sudo:
@@ -10,6 +10,8 @@ RUN useradd --create-home --home-dir /home/lea --shell /bin/bash --groups sudo -
RUN apt-get update && \
apt-get -q -y install python-pip sudo openssl && \
apt-get clean
ENV PIP_INDEX_URL https://pypi.python.org/simple
RUN pip install nose
# Let that user sudo: