mirror of
https://github.com/budtmo/docker-android.git
synced 2025-12-08 18:25:50 +00:00
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…
x
Reference in New Issue
Block a user