Skip to content

Commit

Permalink
swap alpine xfce to chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Sep 26, 2024
1 parent 07a13b1 commit 3fc4d51
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,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.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,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." }
Expand Down
15 changes: 15 additions & 0 deletions root/usr/bin/chromium
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3fc4d51

Please sign in to comment.