fix(docker): use config to set up walpaper (#17399)
This commit is contained in:
parent
e29f70bba6
commit
a6d9aa8708
|
|
@ -35,6 +35,11 @@ cat <<'EOF' | node > /root/.fluxbox/menu
|
|||
`);
|
||||
EOF
|
||||
|
||||
cat <<'EOF' > /root/.fluxbox/lastwallpaper
|
||||
$center $full|/ms-playwright-agent/node_modules/playwright-core/lib/server/chromium/appIcon.png||:99
|
||||
$center $full|/ms-playwright-agent/node_modules/playwright-core/lib/server/chromium/appIcon.png||:99.0
|
||||
EOF
|
||||
|
||||
# Create entrypoint.sh
|
||||
cat <<'EOF' > /entrypoint.sh
|
||||
#!/bin/bash
|
||||
|
|
@ -63,8 +68,6 @@ nohup /opt/bin/noVNC/utils/novnc_proxy --listen 7900 --vnc localhost:5900 >/dev/
|
|||
|
||||
cd /ms-playwright-agent
|
||||
|
||||
fbsetbg -c /ms-playwright-agent/node_modules/playwright-core/lib/server/chromium/appIcon.png
|
||||
|
||||
NOVNC_UUID=$(cat /proc/sys/kernel/random/uuid)
|
||||
echo "novnc is listening on http://127.0.0.1:7900?path=$NOVNC_UUID&resize=scale&autoconnect=1"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue