Skip to content

Commit

Permalink
Migrate from CentOS to Rocky Linux
Browse files Browse the repository at this point in the history
CentOS 8 was discontinued and replaced by a rolling, continuously
updated distribution, CentOS stream that is always ahead of RHEL 8.

The Intel oneAPI Base Toolkit supports Rocky Linux 8 instead.

https://blog.centos.org/2020/12/future-is-centos-stream/
https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html
  • Loading branch information
pcolberg committed Feb 7, 2022
1 parent ef694d7 commit e03c2a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@

# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

FROM centos:8
FROM rockylinux:8

WORKDIR /work

# Before using a new script, update .github/workflows/container.yml
# 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 \
Expand Down

0 comments on commit e03c2a1

Please # to comment.