aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/source/base/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/centos/source/base/Dockerfile')
-rw-r--r--docker/centos/source/base/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/docker/centos/source/base/Dockerfile b/docker/centos/source/base/Dockerfile
new file mode 100644
index 000000000..b8a741e0b
--- /dev/null
+++ b/docker/centos/source/base/Dockerfile
@@ -0,0 +1,27 @@
+FROM centos
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+# Set up repositories
+# This repository provides all dependencies used by RDO OpenStack
+RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm
+# This repository provides latest packages built from trunk master into RPMs
+RUN curl http://trunk.rdoproject.org/centos70/current/delorean.repo -o /etc/yum.repos.d/delorean-current.repo
+# This repository provides crux which permits idempotent operation of RDO
+RUN curl https://copr.fedoraproject.org/coprs/sdake/crux/repo/epel-7/sdake-crux-epel-7.repo -o /etc/yum.repos.d/sdake-crux-epel-7.repo
+
+# Dependencies required for building/installing source components
+RUN yum install -y \
+ MySQL-python \
+ git \
+ python-pip \
+ python-devel \
+ gcc \
+ tar \
+ openssl-devel \
+ libffi-devel \
+ && yum clean all
+
+RUN pip install --upgrade pip
+
+RUN mkdir -p /opt/kolla
+COPY service_hosts.sh kolla-common.sh /opt/kolla/