The Pulumi Docker provider will build it every time, as you've seen. You could try adding
cacheFrom
to the build args which will ensure BuildKit does the least possible amount of work.
quiet-wolf-18467
06/17/2022, 1:41 PM
Ideally, we'd have the Docker provider support Pulumi's FileArchive, which would have better semantics here - but we'd need to open an issue for this n