diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index b58098ed..bc81cb36 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -53,7 +53,7 @@ jobs: strategy: matrix: container: - - centos-8-dev + - rockylinux-8-dev - debian-11-arm-dev - opensuse-leap-15-dev - ubuntu-18.04-dev diff --git a/container/centos-8-dev/Dockerfile b/container/rockylinux-8-dev/Dockerfile similarity index 85% rename from container/centos-8-dev/Dockerfile rename to container/rockylinux-8-dev/Dockerfile index ef8b6e08..671e29b9 100644 --- a/container/centos-8-dev/Dockerfile +++ b/container/rockylinux-8-dev/Dockerfile @@ -3,7 +3,7 @@ # https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ -FROM centos:8 +FROM rockylinux:8 WORKDIR /work @@ -11,8 +11,9 @@ WORKDIR /work # to extend the `paths` on which the workflow runs. COPY scripts/. ./ -RUN sed -i '/^enabled=/s#0#1#' /etc/yum.repos.d/CentOS-Linux-PowerTools.repo \ - && grep '^enabled=1$' /etc/yum.repos.d/CentOS-Linux-PowerTools.repo \ +RUN \ + sed -i '/^enabled=/s#0#1#' /etc/yum.repos.d/Rocky-PowerTools.repo \ + && grep '^enabled=1$' /etc/yum.repos.d/Rocky-PowerTools.repo \ && yum -y upgrade \ && yum -y install \ cmake \