You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/07/21 19:20:08 UTC
(superset) branch no_headless created (now 22f30fb471)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch no_headless
in repository https://gitbox.apache.org/repos/asf/superset.git
at 22f30fb471 feat(docker): do not include chromium (headless browser) by default in Dockerfile
This branch includes the following new commits:
new 22f30fb471 feat(docker): do not include chromium (headless browser) by default in Dockerfile
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: feat(docker): do not include chromium (headless browser) by default in Dockerfile
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch no_headless
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 22f30fb4716f2d7187bf91eb38f3357b99cbb57a
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Jul 21 12:17:30 2025 -0700
feat(docker): do not include chromium (headless browser) by default in Dockerfile
closes: https://github.com/apache/superset/issues/34161
@agologan reported that previous `lean` docker builds prior to 5.0 did not include headless browser, and that as of 5.0 it does, bloating the image size.
This PR makes the default to keep the image leaner, but may have impacts on people's build, so I'm adding a note in UPDATING.md to clarify the change in default/behavior
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 223746eac9..a2b0ae08ee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -167,7 +167,7 @@ RUN mkdir -p \
&& touch superset/static/version_info.json
# Install Playwright and optionally setup headless browsers
-ARG INCLUDE_CHROMIUM="true"
+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 \