mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:36:21 +00:00
Update novnc/Dockerfile
This commit is contained in:
parent
41971320aa
commit
3432d3be19
1 changed files with 1 additions and 8 deletions
|
|
@ -28,14 +28,7 @@ then
|
|||
fi
|
||||
|
||||
# Read ssh client variables hostname and port (5900, 5901, 5902, etc)
|
||||
if ssh ${MYVNC_VNCSSH_HOST} exit
|
||||
then
|
||||
ssh ${MYVNC_VNCSSH_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCSSH_PORT} &
|
||||
else
|
||||
echo "Unable to establish SSH tunnel."
|
||||
echo "Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
ssh ${MYVNC_VNCSSH_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCSSH_PORT} &
|
||||
01-init
|
||||
|
||||
# Reset user home directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue