I noticed when building my multi-stage docker imag...
# development
b
I noticed when building my multi-stage docker image, there's two
<none>
images listed in
docker images
, but I don't see that behavior when invoking
docker
in the sandbox. What am I missing? I tried using
target_stage
to no avail
FYI @curved-television-6568 I know you're traveling tho
😁 1
c
That can be from a previous build? In case you have the same image name, the old ones become “orphaned”
b
nope, complete wipe of
docker images
beforehand
c
Check image ids when you build… oh hmm
Ok, I'll be afk again now..
b
I suspect Pants might be doing something with each stage?
Here's my guess... I think
docker --tag "..." ...
will tag each stage. So its tagging the intermediate stages, then that tag gets wiped when we build-and-tag a later stage with the same tag
c
Ah, if you're using target stage, that is certainly true.
b
I was and was not. Same behavior