Workaround crashing when run by default as root user

This commit is contained in:
analogue 2020-07-12 09:56:22 -05:00
parent 666d3eaee6
commit 68ac0c42ce

View file

@ -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
#---------------