67c3c6b28a
With blueprint remove-config-internal we no longer require crux. Removing it from base images Dockerfiles Partially implements: blueprint remove-config-internal Change-Id: Iccddaf41945a69e78978288dc2012299b21bc9a9
45 lines
1.0 KiB
Docker
45 lines
1.0 KiB
Docker
FROM fedora:21
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
# Dependencies required for building/installing source components
|
|
RUN yum install -y \
|
|
gcc \
|
|
git \
|
|
libffi-devel \
|
|
libxml2-devel \
|
|
libxslt-devel \
|
|
mariadb \
|
|
mariadb-devel \
|
|
mysql-devel \
|
|
MySQL-python \
|
|
openldap-devel \
|
|
openssl \
|
|
openssl-devel \
|
|
postgresql \
|
|
postgresql-devel \
|
|
python-devel \
|
|
python-oslo-policy \
|
|
sqlite-devel \
|
|
tar \
|
|
&& yum clean all
|
|
|
|
|
|
# the only dependencies we need from RDO in the source builds are
|
|
# python-pip, python-cliff for crudini,
|
|
# all of which can be pulled from pypi.
|
|
# also the older version of pip does not have support for wheels
|
|
# we are installing from source pip is the important for
|
|
# most dependency installations
|
|
# https://bugs.launchpad.net/kolla/+bug/1476760
|
|
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 \
|
|
pip \
|
|
tox
|
|
|
|
COPY kolla-common.sh /opt/kolla/
|