1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

feat: support RELATIVE_URL_ROOT (fix #127)

This commit is contained in:
Doro Wu
2019-08-19 01:14:34 +08:00
parent 9b94a2fbeb
commit fb28d897fc
43 changed files with 355 additions and 334 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
if [ -z "$ALSADEV" ]; then
zenity --error --text "To support audio, please read README.md and run container with --device /dev/snd -e ALSADEV=..."
exit 1
fi
exec /usr/bin/chromium-browser --no-sandbox --alsa-output-device="$ALSADEV" "$@"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/Xvfb :1 -screen 0 1024x768x16