Remove crux from base Dockerfiles

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
This commit is contained in:
Swapnil Kulkarni 2015-08-09 01:26:30 +00:00
parent 0b63b64d05
commit 67c3c6b28a
6 changed files with 2 additions and 20 deletions

View File

@ -6,8 +6,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
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/centos7/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
# This repository turns off auth in PAM so we can operate on Ubuntu 14.04
RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo
@ -23,7 +21,6 @@ RUN yum update -y && yum clean all
# Install base packages
RUN yum install -y \
crux \
mariadb \
mariadb-libs \
openssl \

View File

@ -31,7 +31,6 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
RUN pip install --upgrade \
cachetools \
crudini \
crux \
pip \
tox

View File

@ -4,7 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
# Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
RUN yum -y install dnf dnf-plugins-core && yum clean all
RUN dnf copr enable -y sdake/crux
RUN dnf copr enable -y sdake/pam.noaudit
@ -14,7 +13,6 @@ RUN yum update -y && yum clean all
# Install base packages
RUN yum install -y \
iproute \
crux \
mariadb \
mariadb-libs \
openssl \

View File

@ -1,13 +1,8 @@
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 \
@ -30,7 +25,7 @@ RUN yum install -y \
# the only dependencies we need from RDO in the source builds are
# python-pip, python-cliff for crux, and crudini,
# 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

View File

@ -14,7 +14,7 @@ RUN yum install -y \
tar \
&& yum clean all
# TODO(pbourke): replace pip and crux below with rpms once available in Oracle
# TODO(pbourke): replace pip below with rpms once available in Oracle
# repos
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
@ -22,10 +22,4 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
RUN pip install crudini
RUN curl https://codeload.github.com/larsks/crux/tar.gz/7 -o /crux-7.tar.gz \
&& tar -xf /crux-7.tar.gz \
&& pip install -r /crux-7/requirements.txt \
&& pip install /crux-7 \
&& rm -rf /crux-7.tar.gz /crux-7
COPY kolla-common.sh /opt/kolla/

View File

@ -33,7 +33,6 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
RUN pip install --upgrade \
cachetools \
crudini \
crux \
pip \
tox