Skip to content

Commit 5994a1b

Browse files
authored
swap alpine xfce to chromium (#269)
1 parent 9851a95 commit 5994a1b

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ RUN \
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+
chromium \
2021
faenza-icon-theme \
2122
faenza-icon-theme-xfce4-appfinder \
2223
faenza-icon-theme-xfce4-panel \
23-
firefox \
2424
mousepad \
2525
ristretto \
2626
thunar \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ RUN \
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+
chromium \
2021
faenza-icon-theme \
2122
faenza-icon-theme-xfce4-appfinder \
2223
faenza-icon-theme-xfce4-panel \
23-
firefox \
2424
mousepad \
2525
ristretto \
2626
thunar \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
460460

461461
## Versions
462462

463+
* **26.09.24:** - Swap from firefox to chromium on Alpine images.
463464
* **23.05.24:** - Rebase Alpine to 3.20, document Nvidia support.
464465
* **22.04.24:** - Rebase Ubuntu to Noble.
465466
* **16.04.24:** - Add docs on PRoot Apps.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ app_setup_block: |
212212
213213
# changelog
214214
changelogs:
215+
- { date: "26.09.24:", desc: "Swap from firefox to chromium on Alpine images." }
215216
- { date: "23.05.24:", desc: "Rebase Alpine to 3.20, document Nvidia support." }
216217
- { date: "22.04.24:", desc: "Rebase Ubuntu to Noble." }
217218
- { date: "16.04.24:", desc: "Add docs on PRoot Apps." }

root/usr/bin/chromium

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

0 commit comments

Comments
 (0)