Skip to content

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

feat(docker): install zstd in Ubuntu images (#42616)

Copilotb5b5b5f1423e
diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammy
index 16ad0fb7f0..d36b5f1177 100644
--- a/utils/docker/Dockerfile.jammy
+++ b/utils/docker/Dockerfile.jammy
@@ -23,7 +23,8 @@ RUN --mount=type=secret,id=npmrc,target=/root/.npmrc,required=false \
apt-get update && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
- apt-get install -y --no-install-recommends git openssh-client && \
+ # zstd is used by actions/cache.
+ apt-get install -y --no-install-recommends git openssh-client zstd && \
npm install -g yarn && \
# clean apt cache
rm -rf /var/lib/apt/lists/* && \
diff --git a/utils/docker/Dockerfile.noble b/utils/docker/Dockerfile.noble
index 938014b23f..627e6fd366 100644
--- a/utils/docker/Dockerfile.noble
+++ b/utils/docker/Dockerfile.noble
@@ -23,7 +23,8 @@ RUN --mount=type=secret,id=npmrc,target=/root/.npmrc,required=false \
apt-get update && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
- apt-get install -y --no-install-recommends git openssh-client && \
+ # zstd is used by actions/cache.
+ apt-get install -y --no-install-recommends git openssh-client zstd && \
npm install -g yarn && \
# clean apt cache
rm -rf /var/lib/apt/lists/* && \
diff --git a/utils/docker/Dockerfile.resolute b/utils/docker/Dockerfile.resolute
index 14df37e985..30d4880a20 100644
--- a/utils/docker/Dockerfile.resolute
+++ b/utils/docker/Dockerfile.resolute
@@ -24,7 +24,8 @@ RUN --mount=type=secret,id=npmrc,target=/root/.npmrc,required=false \
apt-get update && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
- apt-get install -y --no-install-recommends git openssh-client && \
+ # zstd is used by actions/cache.
+ apt-get install -y --no-install-recommends git openssh-client zstd && \
npm install -g yarn && \
# clean apt cache
rm -rf /var/lib/apt/lists/* && \