Add source base image for oraclelinux
Partially implements: blueprint add-optional-oraclelinux-images Change-Id: I6c350f16c0e394189efa851df3a84d6c6f5699ca
This commit is contained in:
parent
e7a7cc9017
commit
7250fd22dc
31
docker/ol/source/base/Dockerfile
Normal file
31
docker/ol/source/base/Dockerfile
Normal file
@ -0,0 +1,31 @@
|
||||
FROM oraclelinux:7.1
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
# Dependencies required for building/installing source components
|
||||
RUN yum install -y \
|
||||
MySQL-python \
|
||||
gcc \
|
||||
git \
|
||||
libffi-devel \
|
||||
mariadb \
|
||||
openssl \
|
||||
openssl-devel \
|
||||
python-devel \
|
||||
tar \
|
||||
&& yum clean all
|
||||
|
||||
# TODO(pbourke): replace pip and crux below with rpms once available in Oracle
|
||||
# repos
|
||||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
|
||||
&& python get-pip.py \
|
||||
&& rm get-pip.py
|
||||
|
||||
RUN pip install crudini
|
||||
|
||||
RUN curl https://codeload.github.com/larsks/crux/tar.gz/7 -o /crux-7.tar.gz \
|
||||
&& tar -xf /crux-7.tar.gz \
|
||||
&& pip install -r /crux-7/requirements.txt \
|
||||
&& pip install /crux-7 \
|
||||
&& rm -rf /crux-7.tar.gz /crux-7
|
||||
|
||||
COPY service_hosts.sh kolla-common.sh /opt/kolla/
|
1
docker/ol/source/base/build
Symbolic link
1
docker/ol/source/base/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../tools/build-docker-image
|
1
docker/ol/source/base/kolla-common.sh
Symbolic link
1
docker/ol/source/base/kolla-common.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/kolla-common.sh
|
1
docker/ol/source/base/service_hosts.sh
Symbolic link
1
docker/ol/source/base/service_hosts.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/service_hosts.sh
|
Loading…
Reference in New Issue
Block a user