From 72335cae6d42d23d11690e018700078b2eb9dc1a Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Thu, 11 Jun 2015 15:52:43 +0000 Subject: [PATCH] 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 --- docker/ol/binary/base/Dockerfile | 12 ++++++++++++ docker/ol/binary/base/build | 1 + docker/ol/binary/base/kolla-common.sh | 1 + docker/ol/binary/base/service_hosts.sh | 1 + 4 files changed, 15 insertions(+) create mode 100644 docker/ol/binary/base/Dockerfile create mode 120000 docker/ol/binary/base/build create mode 120000 docker/ol/binary/base/kolla-common.sh create mode 120000 docker/ol/binary/base/service_hosts.sh diff --git a/docker/ol/binary/base/Dockerfile b/docker/ol/binary/base/Dockerfile new file mode 100644 index 0000000000..bdc9f5428c --- /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 0000000000..8d652f7ee2 --- /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 0000000000..c265c62f7a --- /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 0000000000..06e0454405 --- /dev/null +++ b/docker/ol/binary/base/service_hosts.sh @@ -0,0 +1 @@ +../../../common/base/service_hosts.sh \ No newline at end of file