Fix container image creation.

This commit fixes the container creation due to centos shipping an older
version of setuptools. [1]

[1] https://github.com/openaps/openaps/issues/95

Closes-Bug: 1778048
Change-Id: Ifbce25a5a49cbc3df58850b10819843e640c8f26
This commit is contained in:
Daniel Mellado 2018-06-21 13:49:26 +02:00
parent 7a22f5a764
commit 7e52b9ef3f
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,8 @@ ARG OSLO_LOCK_PATH=/var/kuryr-lock
RUN yum install -y epel-release https://rdoproject.org/repos/rdo-release.rpm \
&& yum install -y --setopt=tsflags=nodocs python-pip iproute bridge-utils openvswitch sudo jq \
&& yum install -y --setopt=tsflags=nodocs gcc python-devel git
&& yum install -y --setopt=tsflags=nodocs gcc python-devel git \
&& pip install -U setuptools
COPY . /opt/kuryr-kubernetes

View File

@ -5,7 +5,8 @@ ARG UPPER_CONSTRAINTS_FILE="https://git.openstack.org/cgit/openstack/requirement
RUN yum install -y epel-release \
&& yum install -y --setopt=tsflags=nodocs python-pip \
&& yum install --setopt=tsflags=nodocs --assumeyes inet-tools gcc python-devel wget git
&& yum install --setopt=tsflags=nodocs --assumeyes inet-tools gcc python-devel wget git \
&& pip install -U setuptools
COPY . /opt/kuryr-kubernetes