Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: add yarn and git in the docker container (#3651)

Andrey Lushnikov3ea3cf0373b4
diff --git a/docs/docker/Dockerfile.bionic b/docs/docker/Dockerfile.bionic
index e3941208a3..8109b788cc 100644
--- a/docs/docker/Dockerfile.bionic
+++ b/docs/docker/Dockerfile.bionic
@@ -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 ===