mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(docs): optionally install XVFB in docker
This commit is contained in:
parent
01888897b7
commit
ec3ee66043
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user