jolly-kite-53356
02/06/2023, 6:25 AMdocker buildx build --push --platform linux/arm64,linux/amd64
, but with pants,
[docker]
build_args = [
"--no-cache=true",
"--platform=linux/arm64,linux/amd64"
]
the above configuration doesn’t seem work at all, no errors, no effects. I’m wondering is that a configuration error or something else?broad-processor-92400
02/06/2023, 6:46 AMbuild_args
refers to the --build-arg
specifically, not a general set of command line arguments to pass to build
(confusing), see https://www.pantsbuild.org/docs/reference-docker#build_args.
For the specific example of platform, there's https://github.com/pantsbuild/pants/issues/17539broad-processor-92400
02/06/2023, 6:46 AM