aboutsummaryrefslogtreecommitdiff
path: root/vnc-version/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-03-23 09:53:17 +0000
committersickcodes <[email protected]>2021-03-23 09:53:17 +0000
commit408bde5aa2914a5a09e57f9a3f167b9b94554669 (patch)
treefbf6c6b6a15c6f9d72021bc20d51d57fe5ed1ac1 /vnc-version/Dockerfile
parentUpdate docker start commands (drop back into shell using docker start -ai <id... (diff)
downloaddocker-osx-408bde5aa2914a5a09e57f9a3f167b9b94554669.tar.xz
docker-osx-408bde5aa2914a5a09e57f9a3f167b9b94554669.zip
Add more secure VNC password generation. Update osx-serial-generator submodule. Acknowledge OpenCore bootloader usage.
Diffstat (limited to 'vnc-version/Dockerfile')
-rw-r--r--vnc-version/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile
index bea056d..5995142 100644
--- a/vnc-version/Dockerfile
+++ b/vnc-version/Dockerfile
@@ -7,7 +7,7 @@
#
# Title: Mac on Docker (Docker-OSX) [VNC EDITION]
# Author: Sick.Codes https://sick.codes/
-# Version: 3.0
+# Version: 3.1
# License: GPLv3+
#
# All credits for OSX-KVM and the rest at Kholia's repo: https://github.com/kholia/osx-kvm
@@ -113,7 +113,7 @@ RUN cat vnc.sh Launch.sh > Launch_custom.sh
RUN chmod +x Launch_custom.sh
-RUN tee vncpasswd_file <<< "${VNC_PASSWORD:=$(openssl rand -hex 4)}"
+RUN tee vncpasswd_file <<< "${VNC_PASSWORD:="$(tr -dc '[:graph:]' </dev/urandom | head -c8)"}"
RUN vncpasswd -f < vncpasswd_file > ${HOME}/.vnc/passwd
RUN chmod 600 ~/.vnc/passwd