From 69d04f9f5edf8cb3d1dfb6202fdb5e53e87415b4 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 18 May 2023 19:46:18 +0100 Subject: [PATCH] Update packages & cleanup --- Dockerfile | 18 +++++++++++++++--- Dockerfile.aarch64 | 18 +++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 33596e1c..cfe43949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,21 @@ LABEL maintainer="thelamer" RUN \ echo "**** install packages ****" && \ apk add --no-cache \ - firefox \ - font-noto \ - mate-desktop-environment && \ + chromium \ + mate-desktop-environment \ + util-linux-misc && \ + echo "**** application tweaks ****" && \ + sed -i \ + 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \ + /usr/share/applications/chromium.desktop && \ + echo "**** mate tweaks ****" && \ + sed -i \ + '/compositing-manager/{n;s/.*/ false<\/default>/}' \ + /usr/share/glib-2.0/schemas/org.mate.marco.gschema.xml && \ + glib-compile-schemas /usr/share/glib-2.0/schemas/ && \ + rm -f \ + /etc/xdg/autostart/mate-power-manager.desktop \ + /etc/xdg/autostart/mate-screensaver.desktop && \ echo "**** cleanup ****" && \ rm -rf \ /tmp/* diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index d1833799..3362ad7a 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -10,9 +10,21 @@ LABEL maintainer="thelamer" RUN \ echo "**** install packages ****" && \ apk add --no-cache \ - firefox \ - font-noto \ - mate-desktop-environment && \ + chromium \ + mate-desktop-environment \ + util-linux-misc && \ + echo "**** application tweaks ****" && \ + sed -i \ + 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \ + /usr/share/applications/chromium.desktop && \ + echo "**** mate tweaks ****" && \ + sed -i \ + '/compositing-manager/{n;s/.*/ false<\/default>/}' \ + /usr/share/glib-2.0/schemas/org.mate.marco.gschema.xml && \ + glib-compile-schemas /usr/share/glib-2.0/schemas/ && \ + rm -f \ + /etc/xdg/autostart/mate-power-manager.desktop \ + /etc/xdg/autostart/mate-screensaver.desktop && \ echo "**** cleanup ****" && \ rm -rf \ /tmp/*