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 i3status \
2222 i3wm \
2323 st \
2626 ln -s \
2727 /usr/bin/st \
2828 /usr/bin/x-terminal-emulator && \
29+ sed -i \
30+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
31+ /usr/share/applications/chromium.desktop && \
2932 echo "**** cleanup ****" && \
3033 rm -rf \
3134 /config/.cache \
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 i3status \
2222 i3wm \
2323 st \
2626 ln -s \
2727 /usr/bin/st \
2828 /usr/bin/x-terminal-emulator && \
29+ sed -i \
30+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
31+ /usr/share/applications/chromium.desktop && \
2932 echo "**** cleanup ****" && \
3033 rm -rf \
3134 /config/.cache \
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