Enhance Containerfile: Remove unnecessary packages and DMS repository for a leaner installation
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/cron/ci Pipeline was successful

This commit is contained in:
2025-12-12 20:27:03 +01:00
parent 92dedcd088
commit bb39d43501

View File

@@ -7,33 +7,13 @@ RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
#Ajout du dépot mullvad #Ajout du dépot mullvad
RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yum.repos.d/mullvad.repo RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yum.repos.d/mullvad.repo
#Ajout du dépot avengemedia pour DMS (DankMaterialShell)
RUN dnf install -y 'dnf5-command(copr)' && dnf copr enable avengemedia/dms -y
#Ajout du dépot Niri desktop
RUN dnf copr enable yalter/niri -y
#Install de gnome avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires #Install de gnome avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires
RUN dnf install -y \ RUN dnf install -y \
@gnome-desktop \ @gnome-desktop \
@hardware-support \ @hardware-support \
@development-tools \ @development-tools \
@multimedia \ @multimedia \
mesa-vulkan-drivers \
mesa-vulkan-drivers.i686 \
vulkan-loader \
vulkan-loader.i686 \
vulkan-tools \ vulkan-tools \
wayland-devel \
gamescope \
wayland-protocols-devel \
libxkbcommon \
libxkbcommon-x11 \
libffi \
libffi.i686 \
cabextract \
niri \
dms \
glibc-langpack-fr \ glibc-langpack-fr \
langpacks-core-fr \ langpacks-core-fr \
langpacks-fr \ langpacks-fr \
@@ -65,7 +45,7 @@ RUN dnf install -y \
gstreamer1-vaapi \ gstreamer1-vaapi \
ffmpeg \ ffmpeg \
xorg-x11-server-Xwayland \ xorg-x11-server-Xwayland \
&& dnf remove -y alacritty waybar 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 gnome-software gnome-software-rpm-ostree gnome-system-monitor showtime decibels snapshot PackageKit PackageKit-gstreamer-plugin PackageKit-command-not-found toolbox || true \
&& dnf clean all \ && dnf clean all \
&& rm -rf /var/cache/dnf && rm -rf /var/cache/dnf