Build docker image without build context #47
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/enhancement
Improvements or new features
Hello!
Issue details
I need the equivalent of
docker build - < Dockerfile
i.e. building a docker image with no context.I tried setting build.context="" ( https://www.pulumi.com/registry/packages/docker/api-docs/image/#dockerbuild ) but that seems to set the context to the current dir. This makes Pulumi rebuild the image on every run whenever I change any files.
Workaround: point the build context to an explicitly empty dir.
I asked about this on Slack but got no answers.
Affected area/feature
The text was updated successfully, but these errors were encountered: