Share via


DockerfileBuilderCallbackContext Class

Definition

Provides context information for Dockerfile build callbacks.

public class DockerfileBuilderCallbackContext
type DockerfileBuilderCallbackContext = class
Public Class DockerfileBuilderCallbackContext
Inheritance
DockerfileBuilderCallbackContext

Constructors

Name Description
DockerfileBuilderCallbackContext(IResource, DockerfileBuilder, IServiceProvider, CancellationToken)

Initializes a new instance of the DockerfileBuilderCallbackContext class.

Properties

Name Description
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.

Applies to