flat-queen-95161
07/14/2022, 9:22 PM% ls dist/cmd.hello-world/bin
dist/cmd.hello-world/bin
% pants filter --target-type=go_binary ::
cmd/hello-world:bin
# From the Dockerfile
...
COPY cmd.hello-world/bin /go/bin/hello-world
# Build docker image
pants package cmd/hello-world:docker
...
> [2/4] COPY cmd.hello-world/bin /go/bin/hello-world:
------
failed to compute cache key: "/cmd.hello-world/bin" not found: not found
high-yak-85899
07/14/2022, 9:23 PMbin.pex
I thinkhigh-yak-85899
07/14/2022, 9:23 PMcmd.hello-world/bin.pex
flat-queen-95161
07/14/2022, 9:25 PMhigh-yak-85899
07/14/2022, 9:33 PMhigh-yak-85899
07/14/2022, 9:33 PMhigh-yak-85899
07/14/2022, 9:33 PMflat-queen-95161
07/14/2022, 10:13 PMhigh-yak-85899
07/14/2022, 10:17 PMbusy-vase-39202
07/14/2022, 11:03 PMflat-queen-95161
07/15/2022, 12:18 AMgo_binary(
name="bin",
)
docker_image(
name="docker",
dependencies=[
":bin",
],
)
bitter-ability-32190
07/15/2022, 12:24 AMdocker_image
supports dependencies
with anything `package`ablebitter-ability-32190
07/15/2022, 12:25 AMoutput_path
bitter-ability-32190
07/15/2022, 12:25 AM--no-process-cleanup
and poking around the relevant sandbox 🙂happy-kitchen-89482
07/16/2022, 4:18 PMcurved-television-6568
07/16/2022, 4:34 PM