Update Containerfile to add DMS and Niri repositories, install additional packages, and configure GNOME window button layout
This commit is contained in:
@@ -7,6 +7,14 @@ 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 \
|
||||||
|
&& dnf copr enable avengemedia/danklinux -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 \
|
||||||
@@ -18,6 +26,11 @@ RUN dnf install -y \
|
|||||||
mesa-vulkan-drivers.i686 \
|
mesa-vulkan-drivers.i686 \
|
||||||
vulkan-loader \
|
vulkan-loader \
|
||||||
vulkan-loader.i686 \
|
vulkan-loader.i686 \
|
||||||
|
vulkan-tools \
|
||||||
|
gamescope \
|
||||||
|
niri \
|
||||||
|
dsearch \
|
||||||
|
dms \
|
||||||
glibc-langpack-fr \
|
glibc-langpack-fr \
|
||||||
langpacks-core-fr \
|
langpacks-core-fr \
|
||||||
langpacks-fr \
|
langpacks-fr \
|
||||||
@@ -48,11 +61,11 @@ RUN dnf install -y \
|
|||||||
gstreamer1-plugins-base \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-vaapi \
|
gstreamer1-vaapi \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
&& 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 \
|
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 clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/dnf
|
&& rm -rf /var/cache/dnf
|
||||||
|
|
||||||
|
|
||||||
#Installation de Filen Desktop
|
#Installation de Filen Desktop
|
||||||
RUN wget https://cdn.filen.io/@filen/desktop/release/latest/Filen_linux_x86_64.rpm -O /tmp/filen.rpm \
|
RUN wget https://cdn.filen.io/@filen/desktop/release/latest/Filen_linux_x86_64.rpm -O /tmp/filen.rpm \
|
||||||
&& dnf install -y /tmp/filen.rpm \
|
&& dnf install -y /tmp/filen.rpm \
|
||||||
@@ -82,6 +95,12 @@ RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
|
|||||||
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
||||||
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
|
&& 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
|
#Activation du module xpad pour support manette xbox
|
||||||
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user