From a71bbf2ed89c439ad616aabc6a314adc2401aac5 Mon Sep 17 00:00:00 2001 From: qpismont Date: Wed, 29 Oct 2025 13:14:25 +0100 Subject: [PATCH] Enhance Containerfile: Install additional GNOME components, Yaak, Filen, and Starship; configure fonts and services --- Containerfile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index 98a6f22..2757d77 100644 --- a/Containerfile +++ b/Containerfile @@ -7,11 +7,27 @@ 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 -#Install de gnome avec support hardware + Podman + Cups + Vulkan driver + Plymouth +#Install de gnome avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires RUN dnf install -y \ - @gnome-desktop \ + @base-x \ @hardware-support \ @development-tools \ + gnome-initial-setup \ + gdm \ + gnome-shell \ + gnome-session \ + ptyxis \ + nautilus \ + gnome-control-center \ + gnome-settings-daemon \ + gnome-keyring \ + gnome-calculator \ + gnome-clocks \ + gnome-calendar \ + gnome-text-editor \ + papers \ + loupe \ + gnome-weather \ code \ glibc-langpack-fr \ flatpak \ @@ -33,18 +49,44 @@ RUN dnf install -y \ plymouth-plugin-fade-throbber \ podman-compose \ mullvad-vpn \ + kernel-modules \ + kernel-modules-extra \ + SDL2 \ + evtest \ + libusb \ + usbutils \ && dnf remove -y gnome-software gnome-software-rpm-ostree || true \ && dnf clean all \ && rm -rf /var/cache/dnf +#Installation de Yaak RUN wget https://github.com/mountain-loop/yaak/releases/download/v2025.7.0/yaak-2025.7.0-1.x86_64.rpm -O /tmp/yaak.rpm \ && dnf install -y /tmp/yaak.rpm \ && rm -f /tmp/yaak.rpm +#Installation de Filen Desktop 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 \ && rm -f /tmp/filen.rpm +#Installation de starship +RUN curl -sS https://starship.rs/install.sh | sh -s -- -y + +#Installation des polices FiraMono Nerd Font +RUN mkdir -p /usr/share/fonts/firamono-nerd && \ + cd /usr/share/fonts/firamono-nerd && \ + wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/FiraMono.zip && \ + unzip FiraMono.zip && \ + rm FiraMono.zip && \ + fc-cache -fv + +#Configuration de starship pour tous les utilisateurs +RUN echo 'eval "$(starship init bash)"' >> /etc/bashrc + +#Configuration par défaut de starship pour tous les utilisateurs +RUN mkdir -p /etc/skel/.config && \ + starship preset nerd-font-symbols -o /etc/skel/.config/starship.toml + #Langue FR par défaut + Fuse userns + Timezone Paris RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \ && echo "KEYMAP=fr" > /etc/vconsole.conf \ @@ -57,14 +99,18 @@ RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \ 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 + # Ajout de flathub avec des apps par défaut RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \ && flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 \ && flatpak install -y --system flathub io.github.kolunmi.Bazaar +#Définir le target graphique par défaut 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 && \ + systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service mullvad-daemon.service && \ systemctl mask bootc-fetch-apply-updates.timer \ No newline at end of file