Update Containerfile
This commit is contained in:
@@ -5,7 +5,7 @@ RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yu
|
|||||||
|
|
||||||
#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 \
|
||||||
@kde-desktop-environment \
|
@gnome-desktop \
|
||||||
@hardware-support \
|
@hardware-support \
|
||||||
@development-tools \
|
@development-tools \
|
||||||
@multimedia \
|
@multimedia \
|
||||||
@@ -41,7 +41,7 @@ RUN dnf install -y \
|
|||||||
gstreamer1-vaapi \
|
gstreamer1-vaapi \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
xorg-x11-server-Xwayland \
|
xorg-x11-server-Xwayland \
|
||||||
&& dnf remove -y 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
|
||||||
|
|
||||||
@@ -51,11 +51,6 @@ RUN YAAK_URL=$(curl -s https://api.github.com/repos/mountain-loop/yaak/releases/
|
|||||||
&& dnf install -y /tmp/yaak.rpm \
|
&& dnf install -y /tmp/yaak.rpm \
|
||||||
&& rm -f /tmp/yaak.rpm
|
&& rm -f /tmp/yaak.rpm
|
||||||
|
|
||||||
RUN DARKLY_URL=$(curl -s https://api.github.com/repos/Bali10050/Darkly/releases/latest | jq -r '.assets[] | select(.name | contains("fc43.x86_64") and endswith(".rpm")) | .browser_download_url') \
|
|
||||||
&& wget "$DARKLY_URL" -O /tmp/darkly.rpm \
|
|
||||||
&& dnf install -y /tmp/darkly.rpm \
|
|
||||||
&& rm -f /tmp/darkly.rpm
|
|
||||||
|
|
||||||
#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 \
|
||||||
@@ -85,6 +80,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
|
||||||
|
|
||||||
@@ -92,12 +93,14 @@ RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
|||||||
RUN echo "GST_VAAPI_ALL_DRIVERS=0" >> /etc/environment
|
RUN echo "GST_VAAPI_ALL_DRIVERS=0" >> /etc/environment
|
||||||
|
|
||||||
# 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 io.github.kolunmi.Bazaar
|
||||||
|
|
||||||
#Définir le target graphique par défaut
|
#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 sddm.service NetworkManager.service bluetooth.service podman.socket cups.service mullvad-daemon.service && \
|
systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service mullvad-daemon.service && \
|
||||||
systemctl mask bootc-fetch-apply-updates.timer atd.service logrotate.service plocate-updatedb.service plocate-updatedb.timer
|
systemctl mask bootc-fetch-apply-updates.timer
|
||||||
|
|||||||
Reference in New Issue
Block a user