You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error you're encountering with Podman seems to be related to the redefinition of the BUILDPLATFORM variable. This issue arises because Podman handles build arguments differently than Docker, and it doesn't allow redefinition of certain variables like BUILDPLATFORM.
To resolve this, you can try the following workaround:
Modify the Dockerfile: Remove or comment out the line where BUILDPLATFORM is defined if it's being redefined. This might look like:
# ARG BUILDPLATFORM=${BUILDPLATFORM:-amd64}
Use Podman-specific options: If Podman has specific options or flags to handle such cases, consider using them. Unfortunately, Podman might not support all Docker features directly, so checking Podman's documentation for any specific flags or environment variable handling could be helpful.
Environment Variables: Ensure that BUILDPLATFORM is not being set elsewhere in your environment or scripts that might conflict with Podman's handling.
These steps should help you bypass the issue with Podman. If the problem persists, you might need to look into Podman's documentation or community for more specific guidance on handling build arguments.
Bug description
The following error occurs:
when using podman with the command:
Screenshots/recordings
Superset version
master / latest-dev
Python version
v3.12.6
Node version
v20.18.0
Browser
Firefox
Additional context
Works with Docker, issue only occus with Podman.
Checklist
The text was updated successfully, but these errors were encountered: