Clarify libffi-devel install
libffi-devel has a bug in it then installed with nodocs. Note that bug and install with docs so it can be properly uninstalled later. The version of history we want to roll back to is right after 'upgrade' which is 4 and 5 Change-Id: I677823fc81730d870138d73351e89c963d41124f
This commit is contained in:
parent
bdd6e927bb
commit
9f940d3c3e
|
@ -9,9 +9,9 @@ ARG OVERRIDE=override
|
|||
ADD $OVERRIDE /
|
||||
|
||||
RUN set -x \
|
||||
# NOTE(Pete Birley): libffi-devel does not like being uninstalled on CentOS so we install it seperatly, all of its dependencies are already installed in the docker base image.
|
||||
&& yum upgrade -y \
|
||||
&& yum install -y libffi-devel \
|
||||
# NOTE(SamYaple): https://bugs.centos.org/view.php?id=10750
|
||||
&& yum install -y --setopt=tsflags=docs libffi-devel \
|
||||
&& yum install -y \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
|
@ -58,6 +58,6 @@ RUN set -x \
|
|||
# NOTE(SamYaple): end bug workaround
|
||||
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
|
||||
uwsgi \
|
||||
&& yum history -y undo $(yum history list gcc | tail -2 | head -1 | awk '{ print $1}') \
|
||||
&& yum history -y undo 4 5 \
|
||||
&& yum clean all \
|
||||
&& rm -rf /tmp/* /root/.cache
|
||||
|
|
Loading…
Reference in New Issue