Fix openstack-base layering

Change-Id: I77d4ae1856d6fe777482f612363cd145a3788fd5
This commit is contained in:
Proskurin Kirill 2016-07-25 16:12:55 +03:00
parent 52ff33a7b5
commit 8f02b10925
1 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ RUN apt-get install -y --no-install-recommends \
git \
&& apt-get clean
RUN git clone https://github.com/openstack/requirements.git
RUN pip --no-cache-dir install -U virtualenv \
RUN git clone https://github.com/openstack/requirements.git \
&& pip --no-cache-dir install -U virtualenv \
&& virtualenv --system-site-packages /var/lib/microservices/venv \
&& /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt \
Babel \
@ -119,7 +119,7 @@ RUN pip --no-cache-dir install -U virtualenv \
stevedore \
unicodecsv \
warlock \
wrapt
wrapt \
&& rm -rf requirements
ENV PATH /var/lib/microservices/venv/bin:$PATH
RUN rm -rf requirements