Update centos-source-base from symlink to a real layer
There are additional depedencies on top of the binary base that are needed to build and install source components. This commit moves the base image for source installs from a symlink to it's own layer, and adds the dependencies that will be needed to install keystone (more can be added as we add new components). Partially-Implements: blueprint install-from-source Change-Id: I56ef6eafb95530e975988dffb62606309dba274e
This commit is contained in:
parent
d27d2ebede
commit
370736abb7
@ -1 +0,0 @@
|
||||
../binary/base/
|
27
docker/centos/source/base/Dockerfile
Normal file
27
docker/centos/source/base/Dockerfile
Normal file
@ -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/
|
1
docker/centos/source/base/build
Symbolic link
1
docker/centos/source/base/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../tools/build-docker-image
|
1
docker/centos/source/base/kolla-common.sh
Symbolic link
1
docker/centos/source/base/kolla-common.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/kolla-common.sh
|
1
docker/centos/source/base/service_hosts.sh
Symbolic link
1
docker/centos/source/base/service_hosts.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/service_hosts.sh
|
Loading…
Reference in New Issue
Block a user