mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
feat: Remove Python requirement
This commit is contained in:
parent
9840c5ff8c
commit
4e82117d72
1 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,6 @@ set -Eeuo pipefail
|
||||||
echo "❯ Starting Windows for Docker v$(</run/version)..."
|
echo "❯ Starting Windows for Docker v$(</run/version)..."
|
||||||
echo "❯ For support visit https://github.com/dockur/windows"
|
echo "❯ For support visit https://github.com/dockur/windows"
|
||||||
|
|
||||||
export DISPLAY=web
|
|
||||||
export BOOT_MODE=windows
|
export BOOT_MODE=windows
|
||||||
|
|
||||||
cd /run
|
cd /run
|
||||||
|
|
@ -20,8 +19,9 @@ cd /run
|
||||||
|
|
||||||
trap - ERR
|
trap - ERR
|
||||||
|
|
||||||
ln -sfn /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html
|
if [[ "${DISPLAY,,}" == "web" ]]; then
|
||||||
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
|
nginx -e stderr
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p /dev/shm/emulated_tpm
|
mkdir -p /dev/shm/emulated_tpm
|
||||||
swtpm socket -t -d --tpmstate dir=/dev/shm/emulated_tpm --ctrl \
|
swtpm socket -t -d --tpmstate dir=/dev/shm/emulated_tpm --ctrl \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue