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 - vim-gtk3 - git - build-essential - python3 - bash-completion binds: - /etc/timezone:ro - /etc/localtime:ro - "{home}" environment: - USER - DISPLAY - TERM - container={osname} debian9: <<: *debian_base image: docker.io/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: docker.io/debian:10 debian11: <<: *debian_base image: docker.io/debian:11 debian12: <<: *debian_base image: docker.io/debian:12 ubuntu20.04: <<: *debian_base image: docker.io/ubuntu:20.04 ubuntu22.04: <<: *debian_base image: docker.io/ubuntu:22.04 rh_base: &rh_base dockerfile: - 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 - vim-X11 - git - python3 - bash-completion binds: - /etc/timezone:ro - /etc/localtime:ro - "{home}" environment: - USER - DISPLAY - TERM - container={osname} centos7: <<: *rh_base image: docker.io/centos:7 dockerfile: - 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: docker.io/rockylinux:8 rocky9: <<: *rh_base image: docker.io/rockylinux:9