Trim removals and extend masking in Containerfile
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

- Remove GNOME desktop utilities from the removal list (gnome-software,
  gnome-software-rpm-ostree, gnome-system-monitor, showtime, decibels)
- Remove the GNOME window buttons dconf configuration block
- Extend systemctl mask to include atd.service, logrotate.service,
  plocate-updatedb.service and plocate-updatedb.timer in addition to
  bootc-fetch-apply-updates.timer
This commit is contained in:
2026-01-13 19:47:12 +01:00
parent 814c0db4d8
commit 6671af78e1

View File

@@ -41,7 +41,7 @@ RUN dnf install -y \
gstreamer1-vaapi \
ffmpeg \
xorg-x11-server-Xwayland \
&& dnf remove -y gnome-software gnome-software-rpm-ostree gnome-system-monitor showtime decibels snapshot PackageKit PackageKit-gstreamer-plugin PackageKit-command-not-found toolbox || true \
&& dnf remove -y snapshot PackageKit PackageKit-gstreamer-plugin PackageKit-command-not-found toolbox || true \
&& dnf clean all \
&& rm -rf /var/cache/dnf
@@ -85,12 +85,6 @@ RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
#Configuration des fenêtres gnome pour avoir les btns style windows
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
printf "[org/gnome/desktop/wm/preferences]\nbutton-layout=':minimize,maximize,close'\n" > /etc/dconf/db/local.d/02-window-buttons && \
printf "user-db:user\nsystem-db:local\n" > /etc/dconf/profile/user && \
dconf update 2>/dev/null || true
#Activation du module xpad pour support manette xbox
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
@@ -106,4 +100,4 @@ RUN systemctl set-default graphical.target
#Activation des services + Desactivation de bootc-update automatique
RUN systemctl preset-all && \
systemctl enable sddm.service NetworkManager.service bluetooth.service podman.socket cups.service mullvad-daemon.service && \
systemctl mask bootc-fetch-apply-updates.timer
systemctl mask bootc-fetch-apply-updates.timer atd.service logrotate.service plocate-updatedb.service plocate-updatedb.timer