And lastly - if you're wanting to build those images as well - and you're running pulumi regardless ...
b
And lastly - if you're wanting to build those images as well - and you're running pulumi regardless - why not try https://www.pulumi.com/docs/reference/pkg/docker/