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
Describe the bug
Building a pex inside a container with the same image tag as one present on the host sytem causes the packaging to fail with an InstrinsicError
IntrinsicError: Failed to create Docker container: DockerResponseServerError { status_code: 404, message: "image with reference sha256:12cacc23b6dec78ca7b056d56e3de48252669ed49fffd95ed36adbf9dfe3cec0 was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8" }
possibly could be fixed by specifying the platform of the docker_environment in the command running the build?
i'm working around this currently by specifying the platform image instead of the generic python one:
image="amd64/python:3.11-slim-buster",
The text was updated successfully, but these errors were encountered:
Describe the bug
Building a pex inside a container with the same image tag as one present on the host sytem causes the packaging to fail with an
InstrinsicError
Pants version
2.21
OS
Additional info
possibly could be fixed by specifying the platform of the docker_environment in the command running the build?
i'm working around this currently by specifying the platform image instead of the generic python one:
The text was updated successfully, but these errors were encountered: