aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/openstack-base/Dockerfile.j26
-rw-r--r--etc/kolla/kolla-build.conf5
2 files changed, 9 insertions, 2 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2
index 345a1b604..fda017c0c 100644
--- a/docker/openstack-base/Dockerfile.j2
+++ b/docker/openstack-base/Dockerfile.j2
@@ -73,10 +73,12 @@ RUN apt-get install -y --no-install-recommends \
{% endif %}
-RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
+ADD openstack-base-archive /openstack-base-source
+RUN ln -s openstack-base-source/* /requirements \
+ && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& rm get-pip.py \
- && pip --no-cache-dir install -U \
+ && pip --no-cache-dir install -U -c requirements/upper-constraints.txt \
python-barbicanclient \
python-ceilometerclient \
python-congressclient \
diff --git a/etc/kolla/kolla-build.conf b/etc/kolla/kolla-build.conf
index c4281248f..45940fd2e 100644
--- a/etc/kolla/kolla-build.conf
+++ b/etc/kolla/kolla-build.conf
@@ -56,6 +56,11 @@
# reference: stable # git reference to pull, commit sha, tag or branch name
# # pulls from master branch unless specified otherwise
+[openstack-base]
+type = git
+location = https://github.com/openstack/requirements.git
+reference = master
+
[ceilometer-base]
type = url
location = http://tarballs.openstack.org/ceilometer/ceilometer-master.tar.gz