I could have sworn the context property was required, but evidently it isn't and we weren't handling the case when it was missing. This PR updates things to set a default location of the current directory if the context is absent. Some unit tests are also added. Fixes #78.
Docker-Build Resource Provider
A Pulumi provider for building modern Docker images with buildx and BuildKit.
Not to be confused with the earlier Docker provider, which is still appropriate for managing resources unrelated to building images.
| Provider | Use cases |
|---|---|
@pulumi/docker-build |
Anything related to building images with docker build. |
@pulumi/docker |
Everything else -- including running containers and creating networks. |
Reference
For more information, including examples and migration guidance, please see the Docker-Build provider's detailed API documentation.