Skip to content

Commit 0d88fc2

Browse files
authored
Merge pull request #12 from linuxserver/trixie
rebase to trixie
2 parents fc10dd1 + 11a8e92 commit 0d88fc2

File tree

9 files changed

+15
-32
lines changed

9 files changed

+15
-32
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-selkies:debianbookworm
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
24

35
# set version label
46
ARG BUILD_DATE
@@ -18,11 +20,11 @@ RUN \
1820
echo "**** install packages ****" && \
1921
apt-get update && \
2022
apt-get install --no-install-recommends -y \
23+
caja \
2124
chromium \
2225
chromium-l10n \
2326
git \
2427
ssh-askpass \
25-
thunar \
2628
xfce4-terminal && \
2729
echo "**** install github-desktop ****" && \
2830
if [ -z ${GHDESKTOP_VERSION+x} ]; then \

Dockerfile.aarch64

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debianbookworm
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debiantrixie
24

35
# set version label
46
ARG BUILD_DATE
@@ -18,11 +20,11 @@ RUN \
1820
echo "**** install packages ****" && \
1921
apt-get update && \
2022
apt-get install --no-install-recommends -y \
23+
caja \
2124
chromium \
2225
chromium-l10n \
2326
git \
2427
ssh-askpass \
25-
thunar \
2628
xfce4-terminal && \
2729
echo "**** install github-desktop ****" && \
2830
if [ -z ${GHDESKTOP_VERSION+x} ]; then \

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ services:
222222
container_name: github-desktop
223223
cap_add:
224224
- IPC_LOCK
225-
security_opt:
226-
- seccomp:unconfined #optional
227225
environment:
228226
- PUID=1000
229227
- PGID=1000
@@ -243,7 +241,6 @@ services:
243241
docker run -d \
244242
--name=github-desktop \
245243
--cap-add=IPC_LOCK \
246-
--security-opt seccomp=unconfined `#optional` \
247244
-e PUID=1000 \
248245
-e PGID=1000 \
249246
-e TZ=Etc/UTC \
@@ -268,7 +265,6 @@ Containers are configured using parameters passed at runtime (such as those abov
268265
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
269266
| `-v /config` | Users home directory in the container, stores local files and settings |
270267
| `--shm-size=` | This is needed for electron applications to function properly. |
271-
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. Github Desktop runs in no-sandbox mode without it. |
272268
| `--cap-add=IPC_LOCK` | Required for keyring functionality. |
273269

274270
### Portainer notice
@@ -437,6 +433,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
437433

438434
## Versions
439435

436+
* **22.09.25:** - Rebase to Debian Trixie.
440437
* **12.07.25:** - Rebase to Selkies, HTTPS IS NOW REQUIRED.
441438
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
442439
* **03.08.23:** - Rebase to Bookworm and multi arch.

readme-vars.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ custom_params:
2626
cap_add_param: true
2727
cap_add_param_vars:
2828
- {cap_add_var: "IPC_LOCK", desc: "Required for keyring functionality."}
29-
opt_security_opt_param: true
30-
opt_security_opt_param_vars:
31-
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. Github Desktop runs in no-sandbox mode without it."}
3229
# Selkies blurb settings
3330
selkies_blurb: true
3431
show_nvidia: true
@@ -108,6 +105,7 @@ init_diagram: |
108105
"github-desktop:latest" <- Base Images
109106
# changelog
110107
changelogs:
108+
- {date: "22.09.25:", desc: "Rebase to Debian Trixie."}
111109
- {date: "12.07.25:", desc: "Rebase to Selkies, HTTPS IS NOW REQUIRED."}
112110
- {date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon."}
113111
- {date: "03.08.23:", desc: "Rebase to Bookworm and multi arch."}

root/defaults/autostart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
2-
xdg-mime default thunar.desktop inode/directory
2+
xdg-mime default caja.desktop inode/directory
33
dbus-launch github-desktop

root/defaults/menu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<item label="Github Desktop" icon="/usr/share/icons/hicolor/64x64/apps/github-desktop.png"><action name="Execute"><command>/usr/bin/github-desktop</command></action></item>
66
<item label="Chromium" icon="/usr/share/icons/hicolor/48x48/apps/chromium.png"><action name="Execute"><command>/usr/bin/chromium</command></action></item>
77
<item label="VSCodium" icon="/usr/share/pixmaps/vscodium.png"><action name="Execute"><command>/usr/bin/codium</command></action></item>
8-
<item label="File Manager" icon="/usr/share/icons/hicolor/scalable/apps/org.xfce.thunar.svg"><action name="Execute"><command>/usr/bin/thunar</command></action></item>
8+
<item label="File Manager" icon="/usr/share/icons/Adwaita/symbolic/legacy/system-file-manager-symbolic.svg"><action name="Execute"><command>/usr/bin/caja</command></action></item>
99
</menu>
1010
</openbox_menu>

root/usr/bin/chromium

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,4 @@ if ! pgrep chromium > /dev/null;then
77
rm -f $HOME/.config/chromium/Singleton*
88
fi
99

10-
# Run normally on privved containers or modified un non priv
11-
if grep -q 'Seccomp:.0' /proc/1/status; then
12-
${BIN} --password-store=basic "$@"
13-
else
14-
${BIN} --password-store=basic --no-sandbox --test-type "$@"
15-
fi
10+
${BIN} --password-store=basic --no-sandbox --test-type "$@"

root/usr/bin/codium

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
BIN=/usr/share/codium/bin/codium
44

5-
# Run normally on privved containers or modified un non priv
6-
if grep -q 'Seccomp:.0' /proc/1/status; then
7-
${BIN} \
8-
"$@"
9-
else
10-
${BIN} \
5+
${BIN} \
116
--no-sandbox \
127
"$@"
13-
fi

root/usr/bin/github-desktop

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22

33
BIN=/usr/lib/github-desktop/github-desktop
44

5-
# Run normally on privved containers or modified un non priv
6-
if grep -q 'Seccomp:.0' /proc/1/status; then
7-
dbus-launch ${BIN} --password-store=basic "$@"
8-
else
9-
dbus-launch ${BIN} --password-store=basic --no-sandbox --test-type "$@"
10-
fi
5+
dbus-launch ${BIN} --password-store=basic --no-sandbox --test-type "$@"

0 commit comments

Comments
 (0)