You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "lodu (via GitHub)" <gi...@apache.org> on 2025/07/02 09:37:36 UTC
[I] Image 5.0.0-dev does not contain geckodriver [superset]
lodu opened a new issue, #34025:
URL: https://github.com/apache/superset/issues/34025
### Bug description
The 5.0,0-dev found on https://hub.docker.com/r/apache/superset does not contain geckodriver.
Previous versions (e.g. 4.1.2-dev) did include these.
This breaks alerts and reports.
Steps to reproduce:
1. Pull image: `docker pull apache/superset:5.0.0-dev`
2. Create and enter bash shell in container: ` docker run -it --rm apache/superset:5.0.0-dev bash`
3. `which geckodriver` should output a valid path to geckodriver (like `/usr/local/bin/geckodriver`), but it does not.
### Screenshots/recordings

### Superset version
5.0.0
### Python version
Not applicable
### Node version
Not applicable
### Browser
Firefox
### Additional context
I did not find any information in the docs/slack/issues page that this would be removed.
I'll check the github workflows some more. It might have to do with releasing both v5.0.0 and 5.0.0 (first one was by mistake I think).
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027181144
<!-- Answer -->
geckodriver was intentionally removed from the 5.0.0-dev Docker image to reduce image size and move toward Playwright-based browser support for alerts and reports. This change is not documented in the changelog or release notes, and there are no open issues or PRs discussing its removal or restoration.
If you need geckodriver and Firefox for your workflow, you can add them back by extending the official image with a custom Dockerfile. Hereโs an example based on the current documentation:
```docker
FROM apache/superset:5.0.0-dev
USER root
RUN apt-get update && \
apt-get install --no-install-recommends -y firefox-esr
ENV GECKODRIVER_VERSION=0.29.0
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && \
tar -x geckodriver -zf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -O > /usr/bin/geckodriver && \
chmod 755 /usr/bin/geckodriver && \
rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz
USER superset
```
This will restore the previous behavior for alerts and reports that depend on geckodriver and Firefox. For more details, see the [official documentation](https://github.com/apache/superset/blob/308007f909b5a3c1cdd6fc5632ef27ca7eb97ce0/docs/docs/configuration/alerts-reports.mdx).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=hallucination) | [Report ๐](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0af2d529-7940-43a4-bd8b-7ab1bd9b53e7?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [!
[Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34025)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "lodu (via GitHub)" <gi...@apache.org>.
lodu commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027965369
So it might be by design (as dosubot says).
I added geckodriver to the Dockerfile then enabled the FEATURE_FLAG `PLAYWRIGHT_REPORTS_AND_THUMBNAILS`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027311792
<!-- Answer -->
You can find the note in the release notes section of PR 33869:
["The dev layer in our Dockerfile no long includes firefox binaries, only Chromium to reduce bloat/docker-build-time."](https://github.com/apache/superset/pull/33869)
This line references PR 30021 as the origin of the change.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=hallucination) | [Report ๐](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/83c2371d-b391-4be0-816f-5415d37c7e74?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [!
[Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34025)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027266991
<!-- Answer -->
There is no explicit project-internal source (PR, issue, commit message, or changelog) that directly states geckodriver was intentionally removed from the 5.0.0-dev Docker image to reduce image size or to move toward Playwright for alerts/reports. The closest reference is in the 5.0.0 release PR, which notes that the dev Dockerfile layer "no longer includes firefox binaries, only Chromium to reduce bloat/docker-build-time"โthis implies, but does not directly state, the removal of geckodriver as well as Firefox binaries [PR 33869](https://github.com/apache/superset/pull/33869).
The current Dockerfile installs Playwright and optionally Chromium/Firefox, but does not mention geckodriver at all, and there are no comments explaining its removal [Dockerfile](https://github.com/apache/superset/blob/308007f909b5a3c1cdd6fc5632ef27ca7eb97ce0/Dockerfile). The documentation now instructs users to add geckodriver and Firefox themselves if needed, but does not document the removal or a migration to Playwright [alerts-reports docs](https://github.com/apache/superset/blob/308007f909b5a3c1cdd6fc5632ef27ca7eb97ce0/docs/docs/configuration/alerts-reports.mdx).
So, the claim is based on indirect evidence: the Docker image no longer includes Firefox/geckodriver, Playwright is now included, and the only rationale mentioned is reducing image size and build time. There is no explicit statement or official documentation about the removal or a migration plan.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=hallucination) | [Report ๐](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d073798b-1dc9-4627-bec0-58b7c271a849?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [!
[Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34025)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "lodu (via GitHub)" <gi...@apache.org>.
lodu closed issue #34025: Image 5.0.0-dev does not contain geckodriver
URL: https://github.com/apache/superset/issues/34025
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "lodu (via GitHub)" <gi...@apache.org>.
lodu commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027308159
@dosubot give me a direct link to the note that says "no longer includes firefox binaries, only Chromium to reduce bloat/docker-build-time"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Image 5.0.0-dev does not contain geckodriver [superset]
Posted by "lodu (via GitHub)" <gi...@apache.org>.
lodu commented on issue #34025:
URL: https://github.com/apache/superset/issues/34025#issuecomment-3027259393
@dosubot What is your source for "geckodriver was intentionally removed from the 5.0.0-dev Docker image to reduce image size and move toward Playwright-based browser support for alerts and reports. "?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org