Skip to content

Commit

Permalink
Use rpm installed python-setuptools (#3830)
Browse files Browse the repository at this point in the history
Using --ignore-installed with pip causes it to ignore the fact that
setuptools has already been installed by rpm. This results in the newest
version of setuptools (50.0.0) to be pulled in.

Setuptools 50 includes a backwards incompatible change to the way that
non-binary installs happen, which breaks the installation of
ruamel.yaml.clib on architectures that must install from source
because there is not a built wheel.
  • Loading branch information
asmacdo committed Sep 1, 2020
1 parent c2dbf1e commit 2d5197d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/scaffold/ansible/dockerfilehybrid.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ ENV OPERATOR=/usr/local/bin/ansible-operator \
RUN yum clean all && rm -rf /var/cache/yum/* \
&& yum -y update \
&& yum install -y libffi-devel openssl-devel python36-devel gcc python3-pip python3-setuptools \
&& pip3 install --no-cache-dir --ignore-installed ipaddress \
&& pip3 install --no-cache-dir \
ipaddress \
ansible-runner==1.3.4 \
ansible-runner-http==1.0.0 \
openshift~=0.10.0 \
Expand Down

0 comments on commit 2d5197d

Please sign in to comment.