File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 build/wtype \
6969 /usr/sbin/wtype
7070
71+ FROM ghcr.io/linuxserver/baseimage-arch:latest AS selkies-desktop
72+
73+ RUN \
74+ echo "**** selkies-desktop build deps ****" && \
75+ pacman -Sy --noconfirm \
76+ base-devel \
77+ cairo \
78+ git \
79+ wayland \
80+ wayland-protocols
81+
82+ RUN \
83+ echo "**** build selkies-desktop ****" && \
84+ cd /tmp && \
85+ git clone \
86+ https://github.com/selkies-project/selkies-desktop.git && \
87+ cd selkies-desktop && \
88+ make && \
89+ mv \
90+ selkies-desktop \
91+ /usr/bin/selkies-desktop
92+
7193# Runtime stage
7294FROM ghcr.io/linuxserver/baseimage-arch:latest
7395
@@ -300,6 +322,7 @@ COPY /root /
300322COPY --from=frontend /buildout /usr/share/selkies
301323COPY --from=xvfb / /
302324COPY --from=wtype /usr/sbin/wtype /usr/sbin/wtype
325+ COPY --from=selkies-desktop /usr/bin/selkies-desktop /usr/bin/selkies-desktop
303326
304327# ports and volumes
305328EXPOSE 3000 3001
Original file line number Diff line number Diff line change 6868 build/wtype \
6969 /usr/sbin/wtype
7070
71+ FROM ghcr.io/linuxserver/baseimage-arch:arm64v8-latest AS selkies-desktop
72+
73+ RUN \
74+ echo "**** selkies-desktop build deps ****" && \
75+ pacman -Sy --noconfirm \
76+ base-devel \
77+ cairo \
78+ git \
79+ wayland \
80+ wayland-protocols
81+
82+ RUN \
83+ echo "**** build selkies-desktop ****" && \
84+ cd /tmp && \
85+ git clone \
86+ https://github.com/selkies-project/selkies-desktop.git && \
87+ cd selkies-desktop && \
88+ make && \
89+ mv \
90+ selkies-desktop \
91+ /usr/bin/selkies-desktop
92+
7193# Runtime stage
7294FROM ghcr.io/linuxserver/baseimage-arch:arm64v8-latest
7395
@@ -297,6 +319,7 @@ COPY /root /
297319COPY --from=frontend /buildout /usr/share/selkies
298320COPY --from=xvfb / /
299321COPY --from=wtype /usr/sbin/wtype /usr/sbin/wtype
322+ COPY --from=selkies-desktop /usr/bin/selkies-desktop /usr/bin/selkies-desktop
300323
301324# ports and volumes
302325EXPOSE 3000 3001
Original file line number Diff line number Diff line change @@ -7,4 +7,12 @@ export XCURSOR_SIZE=24
77export XKB_DEFAULT_LAYOUT=us
88export XKB_DEFAULT_RULES=evdev
99export WAYLAND_DISPLAY=wayland-1
10- labwc > /dev/null 2>&1
10+ if [ " ${SELKIES_DESKTOP} " == " true" ]; then
11+ labwc > /dev/null 2>&1 &
12+ sleep 1
13+ export WAYLAND_DISPLAY=wayland-0
14+ export DISPLAY=:0
15+ selkies-desktop
16+ else
17+ labwc > /dev/null 2>&1
18+ fi
You can’t perform that action at this time.
0 commit comments