This commit is contained in:
Gilles Grandou 2023-12-03 21:20:21 +01:00
parent e3d2c356ba
commit 5b2f567824
1 changed files with 119 additions and 0 deletions

119
runon.yaml Normal file
View File

@ -0,0 +1,119 @@
debian_base: &debian_base
dockerfile:
- ARG DEBIAN_FRONTEND=noninteractive
- RUN apt-get update
- RUN apt-get -y install apt-utils
- RUN apt-get -y upgrade
- RUN apt-get -y install sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
pkginstall:
"RUN apt-get -y install {}"
packages:
- xterm
- x11-apps
- build-essential
- git
- libgtk2.0
- libgtk-3-0
- bash-completion
binds:
- /etc/timezone:ro
- /etc/localtime:ro
- "{home}"
environment:
- USER
- DISPLAY
- TERM
- debian_chroot={osname}
debian10:
<<: *debian_base
image: debian:10
debian11:
<<: *debian_base
image: debian:11
debian12:
<<: *debian_base
image: debian:12
ubuntu20.04:
<<: *debian_base
image: ubuntu:20.04
ubuntu22.04:
<<: *debian_base
image: 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
pkginstall:
"RUN dnf install -y {}"
packages:
- xterm
- xorg-x11-apps
- xkeyboard-config
- git
- glibc-devel
- gtk2
- gtk3
- bash-completion
- python3
binds:
- /etc/timezone:ro
- /etc/localtime:ro
- "{home}"
environment:
- USER
- DISPLAY
- TERM
- debian_chroot={osname}
centos7:
<<: *rh_base
image: centos:7
dockerfile:
- RUN yum install -y dnf-plugins-core
- RUN yum install -y sudo
- RUN echo "Defaults lecture = never" >> /etc/sudoers
- RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
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