jolly-kite-53356
04/02/2023, 2:53 AMplatforms=["anylinux2014_x86_64-cp-310-cp310"]
to pex or use the new
docker_environment(
name="python_bullseye",
platform="linux_x86_64",
image="python:3.10.9-slim-bullseye",
python_bootstrap_search_path=["<PATH>"],
)
but it seems like the docker image it built still in arm architecture. Could someone help me to figure this out?broad-processor-92400
04/02/2023, 3:06 AMdocker_image
target specifically?
If so, https://github.com/pantsbuild/pants/issues/17539 is relevant. I put a potential work around in a comment there: setting the following in `pants.toml`:
[docker]
env_vars.add = [
"DOCKER_DEFAULT_PLATFORM=linux/amd64"
]
(NB. that'll force all docker images to be linux/amd64
.)jolly-kite-53356
04/02/2023, 5:24 AM