Reorganize locale and timezone configuration in Containerfile
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
FROM registry.fedoraproject.org/fedora-bootc:42
|
FROM registry.fedoraproject.org/fedora-bootc:42
|
||||||
|
|
||||||
#Langue FR par défaut
|
|
||||||
RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf
|
|
||||||
RUN echo "KEYMAP=fr" > /etc/vconsole.conf
|
|
||||||
RUN ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
|
||||||
|
|
||||||
#Ajout du dépot vscode
|
#Ajout du dépot vscode
|
||||||
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
|
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
|
&& 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
|
||||||
@@ -37,6 +32,11 @@ RUN dnf install -y \
|
|||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/dnf
|
&& rm -rf /var/cache/dnf
|
||||||
|
|
||||||
|
#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 \
|
||||||
|
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
||||||
|
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
|
||||||
|
|
||||||
#Configuration des fenêtres gnome pour avoir les btns style windows
|
#Configuration des fenêtres gnome pour avoir les btns style windows
|
||||||
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
||||||
@@ -44,13 +44,6 @@ 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
|
||||||
|
|
||||||
# Configuration Plymouth (thème spinner par défaut)
|
|
||||||
#RUN plymouth-set-default-theme spinner && \
|
|
||||||
# dracut -f
|
|
||||||
|
|
||||||
# Configuration pour flatpak
|
|
||||||
RUN echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user