Add VS Code repo and install code package
Remove Yaak installer block and the VAAPI default-driver config; remove Xorg Xwayland reference to simplify the image.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
FROM registry.fedoraproject.org/fedora-bootc:43
|
FROM registry.fedoraproject.org/fedora-bootc:43
|
||||||
|
|
||||||
|
#Ajout du dépot vscode
|
||||||
|
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
|
||||||
|
&& echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | tee /etc/yum.repos.d/vscode.repo > /dev/null
|
||||||
|
|
||||||
#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
|
||||||
|
|
||||||
@@ -16,10 +20,10 @@ RUN dnf install -y \
|
|||||||
flatpak \
|
flatpak \
|
||||||
distrobox \
|
distrobox \
|
||||||
buildah \
|
buildah \
|
||||||
rsync \
|
|
||||||
podman \
|
podman \
|
||||||
podman-docker \
|
podman-docker \
|
||||||
podman-compose \
|
podman-compose \
|
||||||
|
code \
|
||||||
fuse-overlayfs \
|
fuse-overlayfs \
|
||||||
cups \
|
cups \
|
||||||
cups-pdf \
|
cups-pdf \
|
||||||
@@ -40,17 +44,10 @@ RUN dnf install -y \
|
|||||||
gstreamer1-plugins-base \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-vaapi \
|
gstreamer1-vaapi \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
xorg-x11-server-Xwayland \
|
|
||||||
&& 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 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
|
||||||
|
|
||||||
#Installation de Yaak (dernière version depuis GitHub)
|
|
||||||
RUN YAAK_URL=$(curl -s https://api.github.com/repos/mountain-loop/yaak/releases/latest | jq -r '.assets[] | select(.name | contains("x86_64") and endswith(".rpm")) | .browser_download_url') \
|
|
||||||
&& wget "$YAAK_URL" -O /tmp/yaak.rpm \
|
|
||||||
&& dnf install -y /tmp/yaak.rpm \
|
|
||||||
&& rm -f /tmp/yaak.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 \
|
||||||
@@ -89,9 +86,6 @@ RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
|||||||
#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
|
||||||
|
|
||||||
#Configuration gstreamer pour désactiver tous les drivers vaapi par défaut (évite des conflits avec certains drivers propriétaires)
|
|
||||||
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 runtime/org.gnome.Platform/x86_64/49 \
|
||||||
|
|||||||
Reference in New Issue
Block a user