diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index c1b25d3..dfa13f8 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -24,6 +24,9 @@ jobs: fail-fast: false matrix: include: + - image: centos-stream9 + dockerfile: centos.dockerfile + - image: fedora-39 dockerfile: fedora.dockerfile diff --git a/centos.dockerfile b/centos.dockerfile new file mode 100644 index 0000000..b659ab2 --- /dev/null +++ b/centos.dockerfile @@ -0,0 +1,25 @@ +FROM quay.io/centos/centos:stream9@sha256:70f5d98f555a6cc185d29432e7b5e1a0881c8c3e5d0d1590daa01b616d3b4048 + +RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ + dnf install -y --nodocs --setopt install_weak_deps=False \ + gnome-session-xsession \ + gnome-extensions-app \ + gjs \ + gdm \ + vte291 \ + xorg-x11-server-Xvfb \ + mesa-dri-drivers \ + wl-clipboard \ + PackageKit \ + PackageKit-glib \ + libhandy \ + && dnf clean all -y + +COPY data / + +RUN systemctl set-default multi-user.target && \ + systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ + chmod u+rw /etc/shadow && \ + truncate --size 0 /etc/machine-id + +CMD [ "/sbin/init" ]