fixed chromium

This commit is contained in:
Michael Trip 2023-05-31 16:07:11 +02:00
parent cd2ed14750
commit a7d719c547
2 changed files with 30 additions and 11 deletions

View file

@ -23,11 +23,21 @@ RUN \
thunderbird \ thunderbird \
firefox \ firefox \
code && \ code && \
echo "**** cleanup ****" && \ echo "**** application tweaks ****" && \
dnf autoremove -y && \ sed -i \
dnf clean all && \ 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
rm -rf \ /usr/share/applications/chromium-browser.desktop && \
/tmp/* mv /usr/bin/exo-open /usr/bin/exo-open-real && \
echo "**** xfce tweaks ****" && \
rm -f \
/etc/xdg/autostart/xfce-polkit.desktop && \
echo "**** cleanup ****" && \
dnf autoremove -y && \
dnf clean all && \
rm -rf \
/config/.cache \
/tmp/*
# add local files # add local files
COPY /root / COPY /root /

View file

@ -13,6 +13,7 @@ RUN \
dnf install -y --setopt=install_weak_deps=False --best \ dnf install -y --setopt=install_weak_deps=False --best \
terminator \ terminator \
tilix \ tilix \
chromium \
kubernetes-client \ kubernetes-client \
libreoffice \ libreoffice \
pluma \ pluma \
@ -23,12 +24,20 @@ RUN \
thunderbird \ thunderbird \
firefox \ firefox \
code && \ code && \
echo "**** cleanup ****" && \ echo "**** application tweaks ****" && \
dnf autoremove -y && \ sed -i \
dnf clean all && \ 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
rm -rf \ /usr/share/applications/chromium-browser.desktop && \
/tmp/* mv /usr/bin/exo-open /usr/bin/exo-open-real && \
echo "**** xfce tweaks ****" && \
rm -f \
/etc/xdg/autostart/xfce-polkit.desktop && \
echo "**** cleanup ****" && \
dnf autoremove -y && \
dnf clean all && \
rm -rf \
/config/.cache \
/tmp/*
# Remove this due to errors # Remove this due to errors
RUN dnf -y remove xfce4-power-manager && rm -rf /etc/xdg/autostart/xfce-polkit.desktop && dnf clean all RUN dnf -y remove xfce4-power-manager && rm -rf /etc/xdg/autostart/xfce-polkit.desktop && dnf clean all