https://pulumi.com logo
Title
c

chilly-magazine-6129

04/05/2021, 2:58 AM
How can I use a Docker image that was created using buildAndPushImage as a base image for other images built the same way?
w

white-balloon-205

04/06/2021, 1:07 AM
Since the base image needs to be in the Dockerfile, I expect you would need to modify the Dockerfile on disk (or in a temp folder) and then build from that location. This might not be “simple” to coordinate, but should be possible. It’s possible the Pulumi Docker provider should allow providing the text of a Dockerfile directly instead of a file/folder - I’m not sure if the Docker engine itself supports that or not though. Possibly worth opening an issue to track this.