Skip to content

Migrate from CentOS to Rocky Linux #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Linux

- Red Hat Enterprise Linux (RHEL)\* or CentOS\* 8
- Red Hat Enterprise Linux (RHEL)\* or Rocky Linux\* 8
- SUSE Linux Enterprise Server (SLES)\* or openSUSE Leap\* 15
- Ubuntu\* 18.04 or 20.04 LTS
- GCC 7.4.0 and higher
Expand Down Expand Up @@ -134,7 +134,7 @@ ctest -V
- On Linux, `aoc` requires the `libtinfo.so.5` library, which you can install
using one of the following OS-specific commands:

- Red Hat Enterprise Linux (RHEL)\* or CentOS\* 8:
- Red Hat Enterprise Linux (RHEL)\* or Rocky Linux\* 8:

```
sudo yum install ncurses-compat-libs-6.1
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