aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/source/base
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2015-07-21 18:11:07 +0000
committerPaul Bourke <paul.bourke@oracle.com>2015-07-21 18:11:07 +0000
commit7bc8af43c34e01252016d0e58445d8ff6be47454 (patch)
tree7e360bf7a987584c0eed9f1b8304aef8de9aea4a /docker/centos/source/base
parent3dd31aad8aca04ea4da58bcd74679eacedcf302c (diff)
downloadkolla-7bc8af43c34e01252016d0e58445d8ff6be47454.tar.gz
kolla-7bc8af43c34e01252016d0e58445d8ff6be47454.zip
Remove RDO dependency from source images
It turns out 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. We should remove the dependency on RDO for these builds which is one of the reasons for source builds in the first place. Change-Id: I11e26e96e6c94a5df5db48204714229bbd85a9aa Closes-Bug: #1476760
Diffstat (limited to 'docker/centos/source/base')
-rw-r--r--docker/centos/source/base/Dockerfile20
1 files changed, 8 insertions, 12 deletions
diff --git a/docker/centos/source/base/Dockerfile b/docker/centos/source/base/Dockerfile
index f12a28052..974d79da1 100644
--- a/docker/centos/source/base/Dockerfile
+++ b/docker/centos/source/base/Dockerfile
@@ -1,18 +1,8 @@
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 \
@@ -21,13 +11,19 @@ RUN yum install -y \
openssl \
openssl-devel \
python-devel \
- python-pip \
tar \
libxml2-devel \
libxslt-devel \
&& yum clean all
-RUN pip install --upgrade pip
+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 \
+ crudini \
+ crux \
+ pip
RUN mkdir -p /opt/kolla
COPY service_hosts.sh kolla-common.sh /opt/kolla/