Skip to content

Commit 1c07d95

Browse files
Daniel DiezDaniel Diez
andauthored
[CI] Add devtools 11 to Rocky Linux 8 Dockerfile (#13224)
* Add devtools 11 installation and enablement to Rocky Linux 8 Dockerfile * building image for CI --------- Co-authored-by: Daniel Diez <ddiez@altair.com>
1 parent ee6a146 commit 1c07d95

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build_docker_images_for_ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ on:
99
paths:
1010
- 'scripts/docker_files/docker_file_ci_ubuntu_22_04/*'
1111
- 'scripts/docker_files/docker_file_ci_centos_7/*'
12+
- 'scripts/docker_files/docker_file_ci_rockylinux8/*'
1213
- '.github/workflows/build_docker_images_for_ci.yml'
1314
pull_request:
1415
branches:
1516
- 'master'
1617
paths:
1718
- 'scripts/docker_files/docker_file_ci_ubuntu_22_04/*'
1819
- 'scripts/docker_files/docker_file_ci_centos_7/*'
20+
- 'scripts/docker_files/docker_file_ci_rockylinux8/*'
1921
- '.github/workflows/build_docker_images_for_ci.yml'
2022

2123
workflow_dispatch:

scripts/docker_files/docker_file_ci_rockylinux8/DockerFile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ USER root
44

55
ENV HOME /root
66

7+
# Install devtools 11
8+
RUN dnf -y install gcc-toolset-11
9+
10+
# Enable devtools 11 every time a shell is started
11+
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
12+
713
# Install python3.8.10
814
RUN dnf update -y && \
915
dnf groupinstall "Development Tools" -y && \

0 commit comments

Comments
 (0)