mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
devops: add yarn and git in the docker container (#3651)
This will help consuming docker image as an env for test execution. Fixes #3529
This commit is contained in:
parent
15ec87dbcc
commit
3ea3cf0373
@ -62,7 +62,12 @@ RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
xvfb
|
||||
|
||||
# 9. Run everything after as non-privileged user.
|
||||
# 9. Install git & yarn. These are very helpful in a docker image.
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends git && \
|
||||
npm install -g yarn
|
||||
|
||||
# 10. Run everything after as non-privileged user.
|
||||
USER pwuser
|
||||
|
||||
# === BAKE BROWSERS INTO IMAGE ===
|
||||
|
Loading…
Reference in New Issue
Block a user