
CentOS 7 reached EOL on 30th June 2024[1] and RHEL 7 ended its maintenance support 2 phase[2] the same date. This change removes the ablity to build images derived from these base images. The centos and centos-minimal elements now default to a DIB_RELEASE value of 9-stream. [1] https://www.redhat.com/en/topics/linux/centos-linux-eol [2] https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/rhel-7-end-of-maintenance Change-Id: Ic50e08d9f84bbd319129be236d799eade5f40be8
18 lines
435 B
Bash
Executable File
18 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Ensure the python3 interpreter and YAML libraries are installed
|
|
# early (even before package-installs, which is written in Python and
|
|
# uses YAML).
|
|
|
|
if [[ ${DISTRO_NAME} =~ (centos|rhel) ]]; then
|
|
# Ensure the "user" python3 package is installed
|
|
# so we have /usr/bin/python3 and pyyaml.
|
|
dnf install -y python3 python3-pyyaml
|
|
fi
|