This commit is contained in:
Samruddhi Khandale 2022-12-27 18:35:13 +00:00
parent f9de0e43f8
commit 29babe4245
3 changed files with 8 additions and 1 deletions

View file

@ -153,7 +153,6 @@ install_redhat_packages() {
lsof \
net-tools \
psmisc \
curl \
wget \
ca-certificates \
rsync \
@ -174,6 +173,12 @@ install_redhat_packages() {
man-db \
strace"
# rockylinux:9 installs 'curl-minimal' which clashes with 'curl'
# Install 'curl' for every OS except this rockylinux:9
if [[ "${ID}" = "rocky" ]] && [[ "${VERSION}" != *"9."* ]]; then
package_list="${package_list} curl"
fi
# Install OpenSSL 1.0 compat if needed
if ${install_cmd} -q list compat-openssl10 >/dev/null 2>&1; then
package_list="${package_list} compat-openssl10"

View file

@ -9,6 +9,7 @@ source dev-container-features-test-lib
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${PLATFORM_ID}" = "platform:el8"
check "curl" curl --version
# Report result
reportResults

View file

@ -9,6 +9,7 @@ source dev-container-features-test-lib
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${PLATFORM_ID}" = "platform:el9"
check "curl" curl --version
# Report result
reportResults