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 icewm \
2222 st \
2323 util-linux-misc && \
2929 ln -s \
3030 /usr/bin/st \
3131 /usr/bin/xterm && \
32+ sed -i \
33+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
34+ /usr/share/applications/chromium.desktop && \
3235 echo "**** theme ****" && \
3336 rm -Rf /usr/share/icewm/themes/default && \
3437 curl -s \
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 icewm \
2222 st \
2323 util-linux-misc && \
2929 ln -s \
3030 /usr/bin/st \
3131 /usr/bin/xterm && \
32+ sed -i \
33+ 's:/usr/bin/chromium-browser:/usr/bin/chromium:g' \
34+ /usr/share/applications/chromium.desktop && \
3235 echo "**** theme ****" && \
3336 rm -Rf /usr/share/icewm/themes/default && \
3437 curl -s \
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