summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f6aa451b..337f2ea5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,11 +28,10 @@ RUN apt-mark manual python-minimal
# Install requirements separately, because pip understands a git+https url
# while setuptools doesn't
RUN pip install --upgrade pip
-# TODO(jroll) use upper-constraints here
-RUN pip install -r /tmp/ironic-python-agent/requirements.txt
+RUN pip install -c /tmp/ironic-python-agent/upper-constraints.txt -r /tmp/ironic-python-agent/requirements.txt
# This will succeed because all the dependencies were installed previously
-RUN pip install /tmp/ironic-python-agent
+RUN pip install -c /tmp/ironic-python-agent/upper-constraints.txt /tmp/ironic-python-agent
# Remove no longer needed packages
RUN apt-get -y purge gcc-4.6 gcc python2.7-dev git && \