Merge pull request #252 from analogue/fix_crashing_when_run_by_default_as_root_user
Workaround for "Running as root without --no-sandbox is not supported"
This commit is contained in:
commit
ddf0a451c9
|
@ -171,6 +171,13 @@ ADD src/.fehbg /root/.fehbg
|
|||
ADD src/rc.xml /etc/xdg/openbox/rc.xml
|
||||
RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart
|
||||
|
||||
#======================
|
||||
# Workarounds
|
||||
#======================
|
||||
# Fix emulator from crashing when running as root user.
|
||||
# See https://github.com/budtmo/docker-android/issues/223
|
||||
ENV QTWEBENGINE_DISABLE_SANDBOX=1
|
||||
|
||||
#===============
|
||||
# Expose Ports
|
||||
#---------------
|
||||
|
|
Loading…
Reference in a new issue