Swapnil Kulkarni 0f18d8f0c4 Add build from source for Barbican
Change-Id: I22691c41668e94f926daaf0890ef1300cc791d53
Partially-implements: blueprint install-from-source
2015-07-24 09:10:51 +00:00

38 lines
749 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 \
mysql-devel \
MySQL-python \
openldap-devel \
openssl \
openssl-devel \
postgresql-devel \
python-devel \
python-oslo-policy \
sqlite-devel \
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/