diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-30 19:31:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-30 19:31:40 +0000 |
| commit | 469c878c8f6502cbcccfbd933a1d6561ee320845 (patch) | |
| tree | a4d68623e0d5cf442955915e2e7ee3f6b2987116 /docker/fedora/source/base/Dockerfile | |
| parent | 731d5205cbed74028bda0883a5432afc476605b6 (diff) | |
| parent | 5f3ba81561086b59aa3ad16376166d20dd29ed17 (diff) | |
| download | kolla-469c878c8f6502cbcccfbd933a1d6561ee320845.tar.gz kolla-469c878c8f6502cbcccfbd933a1d6561ee320845.zip | |
Merge "Add fedora base image for build from source"
Diffstat (limited to 'docker/fedora/source/base/Dockerfile')
| -rw-r--r-- | docker/fedora/source/base/Dockerfile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/docker/fedora/source/base/Dockerfile b/docker/fedora/source/base/Dockerfile new file mode 100644 index 000000000..04afcdc72 --- /dev/null +++ b/docker/fedora/source/base/Dockerfile @@ -0,0 +1,49 @@ +FROM fedora:21 +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +# 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 \ + 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 crux, and 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 service_hosts.sh kolla-common.sh /opt/kolla/ |
