ambitious-actor-36781
08/10/2021, 7:31 AMDockerfile
, files from any other unbuilt dependencies, a and the outputs of other package
targets. (minimal requirement is a .pex
file, and a .sh
script built into an image)
Have gotten the latter working and running find
inside a chroot reveals the .pex
file (great!)
.
./examples.docker_image
./examples.docker_image/hello-world.pex'
Struggling to get the former bits working, and I've tried enough things from the examples in the docs I'm a bit lost.
WIP code here: https://github.com/xlevus/pants2-plugins/pull/1/filesfresh-cat-90827
08/10/2021, 7:36 AMfresh-cat-90827
08/10/2021, 7:37 AMambitious-actor-36781
08/10/2021, 7:37 AMhundreds-father-404
08/10/2021, 7:37 AMBinaryPaths
. Start w/ getting docker --version
to work https://www.pantsbuild.org/docs/rules-api-installing-tools#binarypaths-find-already-installed-binarieshundreds-father-404
08/10/2021, 7:37 AMambitious-actor-36781
08/10/2021, 7:53 AMhundreds-father-404
08/10/2021, 7:54 AMambitious-actor-36781
08/10/2021, 7:55 AMambitious-actor-36781
08/10/2021, 8:02 AMambitious-actor-36781
08/10/2021, 8:07 AMtransitive_targets = await Get(TransitiveTargets, Addresses([field_set.address]))
which is in pretty much all examples is what's failing.ambitious-actor-36781
08/10/2021, 8:07 AMhundreds-father-404
08/10/2021, 8:21 AMambitious-actor-36781
08/10/2021, 8:28 AMambitious-actor-36781
08/10/2021, 8:32 AMb'.
./examples.docker_image
./examples.docker_image/hello-world.pex
./examples
./examples/docker_image
./examples/docker_image/Dockerfile'
🎉hundreds-father-404
08/10/2021, 8:36 AMambitious-actor-36781
08/10/2021, 8:37 AMhundreds-father-404
08/10/2021, 8:40 AMwitty-crayon-22786
08/10/2021, 5:49 PMambitious-actor-36781
08/10/2021, 11:04 PM