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
This commit is contained in:
Paul Bourke 2015-06-11 15:52:43 +00:00
parent cee4555eb8
commit 72335cae6d
4 changed files with 15 additions and 0 deletions

View File

@ -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/

1
docker/ol/binary/base/build Symbolic link
View File

@ -0,0 +1 @@
../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../common/base/kolla-common.sh

View File

@ -0,0 +1 @@
../../../common/base/service_hosts.sh