Skip to content

Commit

Permalink
PTFE-573: install podman instead of docker (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abubakarr99 authored Jul 12, 2023
2 parents 1347249 + 3d72e90 commit 1737ca7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions templates/init_runner_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,10 @@ EOF'

sudo subscription-manager repos --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-optional-rpms
sudo yum install -y docker
elif [ "${LINUX_OS_VERSION}" = "8" ]
elif [ "${LINUX_OS_VERSION}" = "8" || "${LINUX_OS_VERSION}" = "9" ]
then
sudo dnf install -y podman-docker
sudo dnf install -y podman-docker podman
DOCKER_SERVICE_START="no"
elif [ "${LINUX_OS_VERSION}" = "9" ]
then
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install -y docker-ce docker-ce-cli containerd.io
DOCKER_SERVICE_START="yes"
else
echo "RHEL version not managed by the runner-manager"
exit 1
Expand Down

0 comments on commit 1737ca7

Please sign in to comment.