aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2015-06-11 15:52:43 +0000
committerPaul Bourke <paul.bourke@oracle.com>2015-06-22 13:05:39 +0000
commit72335cae6d42d23d11690e018700078b2eb9dc1a (patch)
tree7b1142ab8f02f3795a1c5fa68984ed6b254a9b3a
parentcee4555eb82284b37349d7e3cd7ced082513f3c5 (diff)
downloadkolla-72335cae6d42d23d11690e018700078b2eb9dc1a.tar.gz
kolla-72335cae6d42d23d11690e018700078b2eb9dc1a.zip
Add base image for oraclelinux
This patch provides the basis for an alternate set of images to be available in Kolla, based on oraclelinux. It is difficult ahead of time to know all base dependencies and exactly which repos they'll come from, so at this time I have just added the bare minimum. In the next commit keystone will require some essentials that will likely make sense to add here. NOTE: To build this image you must set the following .buildconf in the root of the kolla repo: cat >> .buildconf << EOF PREFIX=ol-binary- EOF Partially implements: blueprint add-optional-oraclelinux-images Change-Id: I1ccce8eebe8fa0d4342af2aa482c083d074bda66
-rw-r--r--docker/ol/binary/base/Dockerfile12
l---------docker/ol/binary/base/build1
l---------docker/ol/binary/base/kolla-common.sh1
l---------docker/ol/binary/base/service_hosts.sh1
4 files changed, 15 insertions, 0 deletions
diff --git a/docker/ol/binary/base/Dockerfile b/docker/ol/binary/base/Dockerfile
new file mode 100644
index 000000000..bdc9f5428
--- /dev/null
+++ b/docker/ol/binary/base/Dockerfile
@@ -0,0 +1,12 @@
+FROM oraclelinux:7.1
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+RUN yum update -y \
+ && yum install -y git \
+ && yum clean all \
+ && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
+ && python get-pip.py \
+ && rm -f get-pip.py \
+ && pip install crudini
+
+COPY service_hosts.sh kolla-common.sh /opt/kolla/
diff --git a/docker/ol/binary/base/build b/docker/ol/binary/base/build
new file mode 120000
index 000000000..8d652f7ee
--- /dev/null
+++ b/docker/ol/binary/base/build
@@ -0,0 +1 @@
+../../../../tools/build-docker-image \ No newline at end of file
diff --git a/docker/ol/binary/base/kolla-common.sh b/docker/ol/binary/base/kolla-common.sh
new file mode 120000
index 000000000..c265c62f7
--- /dev/null
+++ b/docker/ol/binary/base/kolla-common.sh
@@ -0,0 +1 @@
+../../../common/base/kolla-common.sh \ No newline at end of file
diff --git a/docker/ol/binary/base/service_hosts.sh b/docker/ol/binary/base/service_hosts.sh
new file mode 120000
index 000000000..06e045440
--- /dev/null
+++ b/docker/ol/binary/base/service_hosts.sh
@@ -0,0 +1 @@
+../../../common/base/service_hosts.sh \ No newline at end of file