File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1717 https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
1818 echo "**** install packages ****" && \
1919 apk add --no-cache \
20- firefox \
20+ chromium \
2121 mate-desktop-environment \
2222 util-linux-misc && \
2323 echo "**** mate tweaks ****" && \
2828 rm -f \
2929 /etc/xdg/autostart/mate-power-manager.desktop \
3030 /etc/xdg/autostart/mate-screensaver.desktop && \
31+ sed -i \
32+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
33+ /usr/share/applications/chromium.desktop && \
3134 echo "**** cleanup ****" && \
3235 rm -rf \
3336 /tmp/*
Original file line number Diff line number Diff line change 1717 https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
1818 echo "**** install packages ****" && \
1919 apk add --no-cache \
20- firefox \
20+ chromium \
2121 mate-desktop-environment \
2222 util-linux-misc && \
2323 echo "**** mate tweaks ****" && \
2828 rm -f \
2929 /etc/xdg/autostart/mate-power-manager.desktop \
3030 /etc/xdg/autostart/mate-screensaver.desktop && \
31+ sed -i \
32+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
33+ /usr/share/applications/chromium.desktop && \
3134 echo "**** cleanup ****" && \
3235 rm -rf \
3336 /tmp/*
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ BIN=/usr/bin/chromium-browser
4+
5+ # Cleanup
6+ if ! pgrep chromium > /dev/null; then
7+ rm -f $HOME /.config/chromium/Singleton*
8+ fi
9+
10+ # Run normally on privved containers or modified un non priv
11+ if grep -q ' Seccomp:.0' /proc/1/status; then
12+ ${BIN} --no-first-run --password-store=basic " $@ "
13+ else
14+ ${BIN} --no-first-run --password-store=basic --no-sandbox --test-type " $@ "
15+ fi
You can’t perform that action at this time.
0 commit comments