Paul Bourke 48b922cba4 Add build from source for Nova
Partially-implements: blueprint install-from-source
Change-Id: I7b900b2f412667e0b4a36e9a46867b85ba54a8cc
2015-07-24 14:23:54 +00:00

38 lines
746 B
Docker

FROM centos
MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Dependencies required for building/installing source components
RUN yum install -y \
epel-release \
gcc \
git \
libffi-devel \
libxml2-devel \
libxslt-devel \
mariadb \
mariadb-devel \
mysql-devel \
MySQL-python \
openssl \
openssl-devel \
postgresql \
postgresql-devel \
python-devel \
python-oslo-policy \
tar \
&& yum clean all
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& rm get-pip.py
RUN pip install --upgrade \
cachetools \
crudini \
crux \
pip \
tox
RUN mkdir -p /opt/kolla
COPY service_hosts.sh kolla-common.sh /opt/kolla/