is there a way to use `docker.Image` to just build...
# general
a
is there a way to use
docker.Image
to just build an image and keep it locally, without pushing it anywhere? background: without Pulumi, I first build a temporary image that builds my whole solution and publishes each service therein into a separate output directory; this one is huge and contains sensitive information (the access to our private nuget stream) and should never be pushed anywhere; and then I build the actual runtime images, using the temporary image with, for example,
COPY --from=tmpbuilder /output/notifications
. these should get pushed, obviously.
b
Is that what you mean?
a
yes, I don't know why I didn't see that 😕 thank you!