Merge "1. update ex_setup.py and get-pip.py with official link, the original link is out off date, can't access now. 2. pip install testrepository. The CMD sudo pip install -e /home/poppy/. reports error, for the missing of this testrepository package."

This commit is contained in:
Jenkins 2016-06-30 15:45:08 +00:00 committed by Gerrit Code Review
commit 92facfdfd9
1 changed files with 5 additions and 2 deletions

View File

@ -13,11 +13,11 @@ RUN apt-get -qq upgrade
RUN apt-get -qqy install git-core wget curl libpython-dev libev4 libev-dev libffi6 libffi-dev libssl-dev python-dev
# setuptools
RUN wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
RUN wget https://bootstrap.pypa.io/ez_setup.py
RUN python ez_setup.py
# pip
RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
# uwsgi
@ -29,6 +29,9 @@ RUN git clone https://github.com/openstack/poppy.git /home/poppy
# Install Requirements
RUN sudo pip install -r /home/poppy/requirements/requirements.txt
# Install testrepository
RUN sudo pip install testrepository
RUN sudo pip install -e /home/poppy/.
# Set up the configuration files