Skip to content

Commit

Permalink
Add CentOS Stream 9 (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Oct 16, 2024
1 parent eeb4b3d commit 99747c0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
fail-fast: false
matrix:
include:
- image: centos-stream9
dockerfile: centos.dockerfile

- image: fedora-39
dockerfile: fedora.dockerfile

Expand Down
25 changes: 25 additions & 0 deletions centos.dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 99747c0

Please sign in to comment.