https://pulumi.com logo
Title
s

sparse-gold-10561

03/13/2023, 7:30 PM
regarding: https://github.com/pulumi/pulumi-docker/releases/tag/v4.0.0 it now states:
Images no longer are built during preview, reducing preview time significantly
building the images during preview is a handy feature that <4.0.0 has.. We currently have developers who will manage their dockerfiles and when doing merge request kicks off pulumi preview.. this tests the full build process. With this version 4.0.0, it appears that now they won't know if something is not correct within their Dockerfile until its doing a pulumi up on a merge to main. Is this to be expected? Can we make this configurable option?
b

billowy-army-68599

03/13/2023, 7:42 PM
I’d open an issue for this, if possible. You can of course do a docker build before a pulumi up
s

sparse-gold-10561

03/13/2023, 7:46 PM
yeah, i agree.. however, as someone who approves the PRs.. i would like to see the successful build process before approving the PR
and since we are using docker cache anyway, the pulumi up is now sped up.. as the docker image is cached anyway (depending on the host config, etc)
o

orange-policeman-59119

03/13/2023, 8:12 PM
@sparse-gold-10561 is that your 👍 I see on the issue?
s

sparse-gold-10561

03/13/2023, 8:13 PM
Yeah its mine
added my use case as well