aboutsummaryrefslogtreecommitdiff
path: root/docker/openstack-base/Dockerfile.j2
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-03 15:50:38 +0000
committerGerrit Code Review <review@openstack.org>2015-09-03 15:50:38 +0000
commita2d4a9481c4b6dd072918384c2aebd68d75dd783 (patch)
tree3627cb85e8511f65b2a0c54675b70f2e5e98240b /docker/openstack-base/Dockerfile.j2
parente9fd3c5c982e1f5f6d5e20ec77bff7d683f3f3e7 (diff)
parent9d3f3f28e24388316f01eb5683e73ea1f25e3d91 (diff)
downloadkolla-a2d4a9481c4b6dd072918384c2aebd68d75dd783.tar.gz
kolla-a2d4a9481c4b6dd072918384c2aebd68d75dd783.zip
Merge "Create openstack-base container"
Diffstat (limited to 'docker/openstack-base/Dockerfile.j2')
-rw-r--r--docker/openstack-base/Dockerfile.j245
1 files changed, 45 insertions, 0 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2
new file mode 100644
index 000000000..1e33530f7
--- /dev/null
+++ b/docker/openstack-base/Dockerfile.j2
@@ -0,0 +1,45 @@
+FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+{% if install_type == 'source' %}
+ {% if base_distro in ['ubuntu', 'debian'] %}
+
+RUN apt-get install -y --no-install-recommends \
+ curl \
+ ca-certificates \
+ build-essential \
+ python-dev \
+ libssl-dev \
+ libmariadbclient-dev \
+ libxslt1-dev \
+ libffi-dev \
+ libyaml-dev \
+ pkg-config \
+ && apt-get clean
+
+ {% endif %}
+
+RUN 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 \
+ python-barbicanclient \
+ python-ceilometerclient \
+ python-congressclient \
+ python-designateclient \
+ python-heatclient \
+ python-ironicclient \
+ python-magnumclient \
+ python-manilaclient \
+ python-mistralclient \
+ python-muranoclient \
+ python-saharaclient \
+ python-swiftclient \
+ python-troveclient \
+ python-tuskarclient \
+ python-zaqarclient \
+ python-openstackclient \
+ MySQL-python \
+ numpy
+
+{% endif %}