File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ ENTRYPOINT ["/bin/bash"]
1010# This is not inherited from the base image.
1111ARG RHEL_VERSION
1212
13+ # Install the Fedora Extra Packages for Enterprise Linux (EPEL) repository,
14+ # which provides additional packages for RHEL and CentOS Stream, some of which
15+ # we want to install.
16+ RUN <<EOF
17+ dnf install -y --setopt=tsflags=nodocs https://dl.fedoraproject.org/pub/epel/epel-release-latest-${RHEL_VERSION}.noarch.rpm
18+ dnf upgrade -y
19+ EOF
20+
1321# Install tools that are shared by all stages.
1422RUN <<EOF
1523pkgs=()
@@ -19,6 +27,7 @@ if [ "${RHEL_VERSION}" -eq "8" ]; then
1927else
2028 pkgs+=(binutils-gold) # Required build tool.
2129fi
30+ pkgs+=(ccache) # Optional build tool for caching build artifacts.
2231pkgs+=(file) # Required packaging tool.
2332pkgs+=(git) # Required build tool.
2433pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
You can’t perform that action at this time.
0 commit comments