i'm noticing `Docker.Image` building during previe...
# typescript
b
i'm noticing
Docker.Image
building during preview. is this typical?
I have some rather large images and building during preview really slows down preview and they build again during update. Locally it's not that big cause of caching, but it still takes extra needless time.
l
I think it is. You could wrap the code in
pulumi.isDryRun()
?
b
haha thx. that's what I did. Sadly then the preview shows Image
delete
as the diff. however I have noticed it doesn't actually delete. Just sucks explaining that it says delete but doesn't actually do anything to peers.
l
Feature-request time. I've checked the source code, there is no flag or combination of properties that skips the build. You can skip the push, but even if you cache the stages, the
dockerBuild
method of docker.js does eventually get called...