Update novnc/Dockerfile

This commit is contained in:
myve 2024-07-21 18:29:46 +00:00
commit 6c49b0a7f6

View file

@ -2,6 +2,9 @@
FROM alpine/base
USER root
# Build ARG for additional packages to install (eg, openssh)
ARG addpkg
# Install ssh client
RUN apk add --no-cache \
openssh-client \
@ -31,5 +34,5 @@ fi
ssh ${MYVNC_VNCSSH_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCSSH_PORT} &
01-init
# Reset user home directory
USER user
# Default environment
USER ${debug:-user}