moved from centos8 to rocky linux 8

This commit is contained in:
Gilles Grandou 2023-12-04 22:11:36 +01:00
parent c8ba6f3d1b
commit 96f1fa0b8c
1 changed files with 3 additions and 7 deletions

View File

@ -25,18 +25,14 @@ dockerfile =
pkginstall = RUN yum install {} -y
packages = xterm vim-X11 git python3 bash-completion
[centos8]
[rocky8]
dockerfile =
FROM centos:8
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum install dnf-plugins-core -y
RUN yum config-manager --set-enabled powertools -y
FROM rockylinux:8
RUN yum install sudo -y
RUN echo "Defaults lecture = never" >> /etc/sudoers
RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
pkginstall = RUN yum install {} -y
packages = ksh csh xterm xorg-x11-apps xkeyboard-config git glibc-devel gtk2 gtk3 alsa-lib python2 python3 bash-completion environment-modules
packages = xterm vim-X11 git python3 bash-completion
[debian8]
dockerfile =