Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(ci): Add unzip and pin Chrome version (#59217)

mendral-app[bot]19ae6b3267b2
diff --git a/Dockerfile.recording-rasterizer b/Dockerfile.recording-rasterizer
index 58704a525c6f..5efaf591315c 100644
--- a/Dockerfile.recording-rasterizer
+++ b/Dockerfile.recording-rasterizer
@@ -87,6 +87,7 @@ RUN apt-get update && \
"ca-certificates" \
"wget" \
"gnupg" \
+ "unzip" \
&& \
mkdir -p /etc/apt/keyrings && \
wget -qO - https://packages.confluent.io/clients/deb/archive.key | gpg --dearmor -o /etc/apt/keyrings/confluent-clients.gpg && \
@@ -122,7 +123,8 @@ RUN apt-get update && \
# Install chrome-headless-shell via @puppeteer/browsers CLI.
# This provides the minimal Chrome binary that supports HeadlessExperimental.
-RUN npx --yes @puppeteer/browsers install chrome-headless-shell@stable \
+# NOTE: Version is pinned to avoid upstream breakage. Bump periodically for security patches.
+RUN npx --yes @puppeteer/browsers install [email protected] \
--path /opt/chrome-headless-shell && \
ln -s "$(find /opt/chrome-headless-shell -name chrome-headless-shell -type f | head -1)" /usr/local/bin/chrome-headless-shell