diff options
| author | sickcodes <[email protected]> | 2021-03-26 11:20:02 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-26 11:20:02 +0000 |
| commit | 675d01d797972d441ee8201f69a4f8433927d5bc (patch) | |
| tree | a46c6e5e7708d5c028399d0310cf2c8dac5af1d8 /vnc-version/Dockerfile | |
| parent | Made further improvements to the README (diff) | |
| parent | Restore fetch-macOS.py from OSX-KVM previous (diff) | |
| download | docker-osx-675d01d797972d441ee8201f69a4f8433927d5bc.tar.xz docker-osx-675d01d797972d441ee8201f69a4f8433927d5bc.zip | |
Merge branch 'master' into master
Diffstat (limited to 'vnc-version/Dockerfile')
| -rw-r--r-- | vnc-version/Dockerfile | 4 |
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 |