Skip to content

Commit

Permalink
Run yum clean all after yum update
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Jun 26, 2019
1 parent df76223 commit f00abdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion linux-anvil-aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Install basic requirements.
Expand Down
3 changes: 2 additions & 1 deletion linux-anvil-ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# to the point of not being properly functional
# See: https://github.com/CentOS/sig-cloud-instance-images/issues/71
RUN yum update -y && \
yum reinstall -y glibc-common
yum reinstall -y glibc-common && \
yum clean all
RUN localedef -i en_US -f UTF-8 en_US.UTF-8

# Install basic requirements.
Expand Down

0 comments on commit f00abdd

Please sign in to comment.