swap alpine xfce to chromium (#269)

This commit is contained in:
Ryan Kuba 2024-09-26 14:08:43 +00:00 committed by GitHub
parent 9851a95888
commit 5994a1b23d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 2 deletions

View File

@ -17,10 +17,10 @@ RUN \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
echo "**** install packages ****" && \
apk add --no-cache \
chromium \
faenza-icon-theme \
faenza-icon-theme-xfce4-appfinder \
faenza-icon-theme-xfce4-panel \
firefox \
mousepad \
ristretto \
thunar \

View File

@ -17,10 +17,10 @@ RUN \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
echo "**** install packages ****" && \
apk add --no-cache \
chromium \
faenza-icon-theme \
faenza-icon-theme-xfce4-appfinder \
faenza-icon-theme-xfce4-panel \
firefox \
mousepad \
ristretto \
thunar \

View File

@ -460,6 +460,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **26.09.24:** - Swap from firefox to chromium on Alpine images.
* **23.05.24:** - Rebase Alpine to 3.20, document Nvidia support.
* **22.04.24:** - Rebase Ubuntu to Noble.
* **16.04.24:** - Add docs on PRoot Apps.

View File

@ -212,6 +212,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "26.09.24:", desc: "Swap from firefox to chromium on Alpine images." }
- { date: "23.05.24:", desc: "Rebase Alpine to 3.20, document Nvidia support." }
- { date: "22.04.24:", desc: "Rebase Ubuntu to Noble." }
- { date: "16.04.24:", desc: "Add docs on PRoot Apps." }

15
root/usr/bin/chromium Executable file
View File

@ -0,0 +1,15 @@
#! /bin/bash
BIN=/usr/bin/chromium-browser
# Cleanup
if ! pgrep chromium > /dev/null;then
rm -f $HOME/.config/chromium/Singleton*
fi
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:.0' /proc/1/status; then
${BIN} --no-first-run --password-store=basic "$@"
else
${BIN} --no-first-run --password-store=basic --no-sandbox --test-type "$@"
fi