Enhance Containerfile: Install additional GNOME components, Yaak, Filen, and Starship; configure fonts and services
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
2025-10-29 13:14:25 +01:00
parent 1fc2c1ae92
commit a71bbf2ed8

View File

@@ -7,11 +7,27 @@ 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
#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 \ RUN dnf install -y \
@gnome-desktop \ @base-x \
@hardware-support \ @hardware-support \
@development-tools \ @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 \ code \
glibc-langpack-fr \ glibc-langpack-fr \
flatpak \ flatpak \
@@ -33,18 +49,44 @@ RUN dnf install -y \
plymouth-plugin-fade-throbber \ plymouth-plugin-fade-throbber \
podman-compose \ podman-compose \
mullvad-vpn \ mullvad-vpn \
kernel-modules \
kernel-modules-extra \
SDL2 \
evtest \
libusb \
usbutils \
&& dnf remove -y gnome-software gnome-software-rpm-ostree || true \ && dnf remove -y gnome-software gnome-software-rpm-ostree || true \
&& dnf clean all \ && dnf clean all \
&& rm -rf /var/cache/dnf && 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 \ 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 \ && dnf install -y /tmp/yaak.rpm \
&& rm -f /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 \ 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 \
&& rm -f /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 #Langue FR par défaut + Fuse userns + Timezone Paris
RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \ RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
&& echo "KEYMAP=fr" > /etc/vconsole.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 && \ printf "user-db:user\nsystem-db:local\n" > /etc/dconf/profile/user && \
dconf update 2>/dev/null || true 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 # Ajout de flathub avec des apps par défaut
RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \ 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 runtime/org.gnome.Platform/x86_64/49 \
&& flatpak install -y --system flathub io.github.kolunmi.Bazaar && flatpak install -y --system flathub io.github.kolunmi.Bazaar
#Définir le target graphique par défaut
RUN systemctl set-default graphical.target RUN systemctl set-default graphical.target
#Activation des services + Desactivation de bootc-update automatique #Activation des services + Desactivation de bootc-update automatique
RUN systemctl preset-all && \ 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 systemctl mask bootc-fetch-apply-updates.timer