Skip to content

Fix python installation #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ ARG PROJECTS=" \
# Clone DevStack, Requirements and OpenStack (Core) Projects
# - To properly detect a container environment,
# we need at least openstack-dev/devstack/commit/63666a2
RUN git clone git://git.openstack.org/openstack-dev/devstack --branch $DEVSTACK_BRANCH && \
git clone git://git.openstack.org/openstack/requirements --branch $DEVSTACK_BRANCH /opt/stack/requirements && \
RUN git clone http://github.com/openstack/devstack --branch $DEVSTACK_BRANCH && \
git clone http://github.com/openstack/requirements --branch $DEVSTACK_BRANCH /opt/stack/requirements && \
for \
PROJECT in $PROJECTS; \
do \
git clone \
git://git.openstack.org/openstack/$PROJECT.git \
http://github.com/openstack/$PROJECT.git \
/opt/stack/$PROJECT \
--branch $PROJECTS_BRANCH \
--depth 1 \
Expand Down Expand Up @@ -117,9 +117,13 @@ RUN pip install --upgrade --force-reinstall requests

# Install known working Python packages
RUN pip install \
--no-cache-dir \
--no-cache-dir --ignore-installed \
--constraint /opt/stack/requirements/upper-constraints.txt \
--requirement /opt/stack/requirements/global-requirements.txt

RUN pip install \
--no-cache-dir --ignore-installed \
--constraint /opt/stack/requirements/upper-constraints.txt \
--requirement /opt/stack/requirements/global-requirements.txt \
--requirement /opt/stack/requirements/test-requirements.txt

# Setup non-Root user "stack", as required by stack.sh
Expand Down