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

feat: Ubuntu focal 20.04

This commit is contained in:
Doro Wu
2020-05-11 23:14:58 +08:00
parent 0e70047bdc
commit c3bce99da9
7 changed files with 162 additions and 73 deletions
@@ -5,4 +5,4 @@ if [ -z "$ALSADEV" ]; then
exit 1
fi
exec /usr/bin/chromium-browser --no-sandbox --alsa-output-device="$ALSADEV" "$@"
exec /usr/bin/google-chrome --no-sandbox --alsa-output-device="$ALSADEV" "$@"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import (
absolute_import, division, print_function, with_statement
)
+1 -1
View File
@@ -151,7 +151,7 @@ def liveflv():
cmd,
stdout=gsp.PIPE,
stderr=gsp.PIPE,
env={k: str(v) for k, v in xenvs.iteritems()},
env={k: str(v) for k, v in xenvs.items()},
)
def readerr(f):
@@ -31,7 +31,7 @@ class State(object):
output = gsp.check_output([
'supervisorctl', '-c', '/etc/supervisor/supervisord.conf',
'status'
])
], encoding='UTF-8')
for line in output.strip().split('\n'):
if not line.startswith('web') and line.find('RUNNING') < 0:
health = False