DockerfileBuilderCallbackContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides context information for Dockerfile build callbacks.
public class DockerfileBuilderCallbackContext
type DockerfileBuilderCallbackContext = class
Public Class DockerfileBuilderCallbackContext
- Inheritance
-
DockerfileBuilderCallbackContext
Constructors
| DockerfileBuilderCallbackContext(IResource, DockerfileBuilder, IServiceProvider, CancellationToken) |
Initializes a new instance of the DockerfileBuilderCallbackContext class. |
Properties
| Builder |
Gets the Dockerfile builder instance. |
| CancellationToken |
Gets the cancellation token to observe while waiting for the task to complete. |
| Resource |
Gets the resource being built. |
| Services |
Gets the service provider for dependency injection. |