This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 7.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 1eb0a37462ccce5767304f746ff70ac97ae2ce1c
Author: Mike Bridge <[email protected]>
AuthorDate: Tue Nov 10 12:12:57 2026 -0600

    fix(docker): install libatomic before Playwright setup (#46124)
    
    Co-authored-by: Mike Bridge <[email protected]>
    (cherry picked from commit 7f75701a27a5ff32b3966d5c58d988e74a661523)
---
 Dockerfile                                     | 6 ++++--
 docs/admin_docs/installation/docker-builds.mdx | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5932827a719..413194aa960 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -202,6 +202,7 @@ ARG INCLUDE_CHROMIUM="false"
 ARG INCLUDE_FIREFOX="false"
 RUN --mount=type=cache,target=${SUPERSET_HOME}/.cache/uv \
     if [ "${INCLUDE_CHROMIUM}" = "true" ] || [ "${INCLUDE_FIREFOX}" = "true" 
]; then \
+        /app/docker/apt-install.sh libatomic1 && \
         uv pip install playwright && \
         playwright install-deps && \
         if [ "${INCLUDE_CHROMIUM}" = "true" ]; then playwright install 
chromium; fi && \
@@ -297,9 +298,10 @@ FROM lean AS superset
 USER root
 
 # mysqlclient needs the MySQL client dev headers + pkg-config to build.
-# python-common already installs the libs for postgres/sasl/ldap, so only
-# the MySQL bits are added here — the minimal `lean` stage stays untouched.
+# Playwright's bundled Node needs libatomic before installing browser 
dependencies.
+# Keep these extra dependencies out of the minimal `lean` stage.
 RUN /app/docker/apt-install.sh \
+    libatomic1 \
     pkg-config \
     default-libmysqlclient-dev
 
diff --git a/docs/admin_docs/installation/docker-builds.mdx 
b/docs/admin_docs/installation/docker-builds.mdx
index 13f62b43a5b..be3457dc22a 100644
--- a/docs/admin_docs/installation/docker-builds.mdx
+++ b/docs/admin_docs/installation/docker-builds.mdx
@@ -112,6 +112,9 @@ USER root
 # Set environment variable for Playwright
 ENV PLAYWRIGHT_BROWSERS_PATH=/usr/local/share/playwright-browsers
 
+# Playwright's bundled Node needs libatomic before it can install browser 
dependencies.
+RUN /app/docker/apt-install.sh libatomic1
+
 # Install packages using uv into the virtual environment
 RUN . /app/.venv/bin/activate && \
     uv pip install \

Reply via email to