Enhance Containerfile: Remove unnecessary packages and DMS repository for a leaner installation
This commit is contained in:
@@ -7,33 +7,13 @@ RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
|
||||
#Ajout du dépot mullvad
|
||||
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
|
||||
RUN dnf install -y \
|
||||
@gnome-desktop \
|
||||
@hardware-support \
|
||||
@development-tools \
|
||||
@multimedia \
|
||||
mesa-vulkan-drivers \
|
||||
mesa-vulkan-drivers.i686 \
|
||||
vulkan-loader \
|
||||
vulkan-loader.i686 \
|
||||
vulkan-tools \
|
||||
wayland-devel \
|
||||
gamescope \
|
||||
wayland-protocols-devel \
|
||||
libxkbcommon \
|
||||
libxkbcommon-x11 \
|
||||
libffi \
|
||||
libffi.i686 \
|
||||
cabextract \
|
||||
niri \
|
||||
dms \
|
||||
glibc-langpack-fr \
|
||||
langpacks-core-fr \
|
||||
langpacks-fr \
|
||||
@@ -65,7 +45,7 @@ RUN dnf install -y \
|
||||
gstreamer1-vaapi \
|
||||
ffmpeg \
|
||||
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 \
|
||||
&& rm -rf /var/cache/dnf
|
||||
|
||||
@@ -127,4 +107,4 @@ RUN systemctl set-default graphical.target
|
||||
#Activation des services + Desactivation de bootc-update automatique
|
||||
RUN systemctl preset-all && \
|
||||
systemctl enable gdm.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
|
||||
Reference in New Issue
Block a user