Skip to content

Commit

Permalink
Add EPEL for ubi8
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Jun 26, 2023
1 parent 211369a commit d11a3ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/pbenchinacan/container-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ buildah config \

buildah copy $container ${RPM_PATH} /tmp/pbench-server.rpm
buildah run $container dnf update -y
if [[ "${BASE_IMAGE}" == *"ubi9:latest" || "${BASE_IMAGE}" == *"centos:stream9" ]]; then
if [[ "${BASE_IMAGE}" == *"ubi9:"* || "${BASE_IMAGE}" == *"centos:stream9" ]]; then
buildah run $container dnf install -y --nodocs \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
elif [[ "${BASE_IMAGE}" == *"ubi8:"* ]]; then
buildah run $container dnf install -y --nodocs \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
fi
buildah run $container dnf install -y --nodocs \
/tmp/pbench-server.rpm less nginx openssl rsyslog rsyslog-mmjsonparse
Expand Down

0 comments on commit d11a3ae

Please sign in to comment.