chore(docs): optionally install XVFB in docker

This commit is contained in:
Andrey Lushnikov 2020-03-02 18:54:13 -08:00
parent 01888897b7
commit ec3ee66043

View File

@ -46,5 +46,8 @@ RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser \
&& mkdir -p /home/pwuser/Downloads \
&& chown -R pwuser:pwuser /home/pwuser
# 6. (Optional) Install XVFB if there's a need to run browsers in headful mode
RUN apt-get install -y xvfb
# Run everything after as non-privileged user.
USER pwuser