
Makes use of new gen-source-tar script to provide a source based keystone image. This patch introduces a new concept of a .buildinfo file, which provides variables specific to the image being built which cannot be defaulted in a generic way, at least until the build script is overhauled. This file is sourced before the .buildconf which still leaves everything customisable by the user. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I0ec6b9cfe6d4173f3192e4ae5833fb0f6d333f1c Implements: blueprint install-from-source
32 lines
1.0 KiB
Docker
32 lines
1.0 KiB
Docker
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 \
|
|
crux \
|
|
crudini \
|
|
gcc \
|
|
git \
|
|
libffi-devel \
|
|
mariadb \
|
|
MySQL-python \
|
|
openssl \
|
|
openssl-devel \
|
|
python-devel \
|
|
python-pip \
|
|
tar \
|
|
&& yum clean all
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
RUN mkdir -p /opt/kolla
|
|
COPY service_hosts.sh kolla-common.sh /opt/kolla/
|