Skip to content

Commit 357fc0a

Browse files
committed
Remove duplicated installation of ccache in RHEL
1 parent a9c8677 commit 357fc0a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

docker/rhel/Dockerfile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,6 @@ dnf clean -y all
6161
rm -rf /var/cache/dnf/*
6262
EOF
6363

64-
# Install ccache, which is an optional build tool for caching build artifacts.
65-
# We have to enable the Fedora Extra Packages for Enterprise Linux (EPEL)
66-
# repository to install ccache. EPEL provides additional packages for RHEL and
67-
# CentOS Stream.
68-
RUN <<EOF
69-
dnf install -y --setopt=tsflags=nodocs https://dl.fedoraproject.org/pub/epel/epel-release-latest-${RHEL_VERSION}.noarch.rpm
70-
dnf upgrade -y
71-
dnf update -y
72-
dnf install -y --allowerasing --setopt=tsflags=nodocs ccache
73-
dnf clean -y all
74-
rm -rf /var/cache/dnf/*
75-
EOF
76-
7764
# Add symlinks to point to the latest Python versions. The /usr/local/bin
7865
# directory is in the PATH before the /usr/bin directory, so the new Python
7966
# versions will be used by default.

0 commit comments

Comments
 (0)