hundreds-carpet-28072
11/14/2023, 2:25 PMdocker_image target which includes a PEX via pants package/run is there a way to implicitly build that PEX for the platform of the Docker image? Or rather within that image itself? To remove the need for setting platforms/complete_platforms on the pex_binary target?curved-television-6568
11/14/2023, 3:10 PMdocker_environment target or b) running pants from within a docker container.
https://www.pantsbuild.org/docs/environmentshundreds-carpet-28072
11/14/2023, 3:16 PMdocker_environment target
I am currently trying to integrate docker_environment targets into our build system but getting blocked on issues with Colima being our designated Docker runner.
> b) running pants from within a docker container.
I’ve seen threads discussing the PEX build step being done within the Docker image currently being targeted to run. For instance pants run proj:docker-image would build any PEX dependencies within that docker-image container since that’s the only required platform for that case. Is that something that’s being considered or anything close to it? It would be a nice way to avoid bulky PEXs that would currently be built if a lengthy complete_platforms list was provided for the PEX binary definition.curved-television-6568
11/14/2023, 3:21 PMhundreds-carpet-28072
11/14/2023, 3:31 PM