This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
forked from Schneegans/gnome-shell-pod
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
!archlinux/ | ||
!common/ | ||
!debian/ | ||
!suse/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM registry.opensuse.org/opensuse/tumbleweed:latest@sha256:ccb3c09fce43c55cc70baa00a40ef872a0ff179629e22432b7966f34fbaffd7d | ||
|
||
RUN zypper --non-interactive install --no-recommends \ | ||
xorg-x11-server-Xvfb gjs gdm gnome-session-wayland gnome-extensions gtk3-metatheme-adwaita \ | ||
typelib-1_0-Vte-2_91 PackageKit typelib-1_0-PackageKitGlib-1_0 wl-clipboard | ||
|
||
COPY common suse / | ||
|
||
RUN systemctl set-default gnome-session-x11.target && \ | ||
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ | ||
useradd -m -U -G users gnomeshell && \ | ||
mkdir -p /var/lib/systemd/linger && \ | ||
touch /var/lib/systemd/linger/gnomeshell && \ | ||
su -l gnomeshell -c ' \ | ||
mkdir -p $HOME/.config/systemd/user/sockets.target.wants/ && \ | ||
ln -s /etc/xdg/systemd/user/[email protected] $HOME/.config/systemd/user/sockets.target.wants/[email protected] \ | ||
' && \ | ||
truncate --size 0 /etc/machine-id && \ | ||
dconf update | ||
|
||
# dbus port | ||
EXPOSE 1234 | ||
LABEL user-dbus-port=1234 | ||
|
||
# X11 port | ||
EXPOSE 6099 | ||
LABEL x11-port=6099 x11-display-number=99 | ||
|
||
HEALTHCHECK CMD busctl --watch-bind=true status && systemctl is-system-running --wait | ||
|
||
CMD [ "/sbin/init", "systemd.unified_cgroup_hierarchy=0" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
user-db:user | ||
system-db:local |