Hi all, is there a way of setting the platform whe...
# general
l
Hi all, is there a way of setting the platform when packaging a
docker_image
target? I’m building an image that I later reference in a
docker_environment
matching that platform value.
c
There is no specific platform support for
docker_image
yet, so if the
--platform
arg to the
FROM
instruction is not enough/working you’re currently out of options, afict. https://docs.docker.com/engine/reference/builder/#from
l
I didn’t know about the arg in FROM, going to try, thanks!
👍 1
b
Feature requests issue, if you want something to follow: https://github.com/pantsbuild/pants/issues/17539 (Nice tip about FROM!)
👍 2