mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 22:56:20 +00:00
Move all NoVNC instances to alpine image
This commit is contained in:
parent
d086ed3138
commit
7f0d398fbb
274 changed files with 349 additions and 50367 deletions
|
|
@ -33,9 +33,7 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
|||
&& useradd --create-home --gid users --shell /usr/bin/bash user \
|
||||
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman' \
|
||||
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
|
||||
&& passwd -l root >/dev/null 2>&1 \
|
||||
&& mkdir -p /app/nginx /app/logs \
|
||||
&& chown -R user:users /app
|
||||
&& passwd -l root >/dev/null 2>&1
|
||||
|
||||
# Default environment
|
||||
USER ${debug:-user}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@ services:
|
|||
image: myvnc/arch/plasma
|
||||
container_name: kdeplasma
|
||||
restart: unless-stopped
|
||||
# build: .
|
||||
# shm_size: 2gb
|
||||
# security_opt:
|
||||
# - seccomp:unconfined
|
||||
environment:
|
||||
MYVNC_VNCPASS: ${MYVNC_KDEPLASMA_VNCPASS}
|
||||
networks:
|
||||
|
|
@ -20,7 +24,6 @@ services:
|
|||
image: myvnc/alpine/base
|
||||
container_name: kdeplasma-novnc
|
||||
restart: unless-stopped
|
||||
# shm_size: 2gb
|
||||
ports:
|
||||
- ${MYVNC_KDEPLASMA_PORT}:6900
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ unset MYVNC_VNCPASS
|
|||
|
||||
# VNC xstartup
|
||||
install /dev/stdin ~/.config/tigervnc/xstartup <<- xstartup
|
||||
|
||||
#!/usr/bin/env bash
|
||||
unset SESSION_MANAGER
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
exec ${STARTXBIN}
|
||||
|
|
@ -68,5 +68,8 @@ LockOnResume=false
|
|||
Timeout=0
|
||||
kscreenlockerrc
|
||||
|
||||
# Read cli parameters, if any
|
||||
exec "${@}" &
|
||||
|
||||
# Launch Tigervnc
|
||||
/usr/bin/dbus-launch vncserver :0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue