This commit is contained in:
Gilles Grandou 2023-12-04 13:23:13 +01:00
parent d48890e4ec
commit 4fa7999900
1 changed files with 20 additions and 36 deletions

View File

@ -13,12 +13,10 @@ debian_base: &debian_base
packages:
- xterm
- x11-apps
- build-essential
- git
- libgtk2.0
- libgtk-3-0
- bash-completion
- vim-gtk3
- git
- build-essential
- bash-completion
binds:
- /etc/timezone:ro
- /etc/localtime:ro
@ -29,6 +27,19 @@ debian_base: &debian_base
- TERM
- container={osname}
debian9:
<<: *debian_base
image: debian:9
dockerfile:
- ARG DEBIAN_FRONTEND=noninteractive
- RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
- RUN apt-get update
- RUN apt-get -y upgrade
- RUN apt install -y --allow-downgrades libnettle6=3.3-1+b2 # default libnettle6 conflicts with libgtk-3.0
- RUN apt-get -y install sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
debian10:
<<: *debian_base
image: debian:10
@ -51,24 +62,17 @@ ubuntu22.04:
rh_base: &rh_base
dockerfile:
- RUN dnf install -y dnf-plugins-core
- RUN dnf config-manager -y --set-enabled powertools
- RUN dnf install -y sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
- RUN dnf group install -y "Development Tools"
pkginstall:
"RUN dnf install -y {}"
packages:
- xterm
- xorg-x11-apps
- xkeyboard-config
- git
- glibc-devel
- gtk2
- gtk3
- bash-completion
- python3
- vim-X11
- git
- bash-completion
binds:
- /etc/timezone:ro
- /etc/localtime:ro
@ -88,35 +92,15 @@ centos7:
- RUN yum install -y sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
- RUN yum group install -y "Development Tools"
pkginstall:
"RUN yum install -y {}"
rocky8:
<<: *rh_base
image: rockylinux:8
dockerfile:
- RUN dnf install -y dnf-plugins-core
- RUN dnf config-manager -y --set-enabled powertools
- RUN dnf install -y sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
rocky9:
<<: *rh_base
image: rockylinux:9
dockerfile:
- RUN dnf install -y dnf-plugins-core
- RUN dnf install -y sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
packages:
- xterm
- xkeyboard-config
- git
- glibc-devel
- gtk2
- gtk3
- bash-completion
- python3
- vim-X11