package
1.13.0
Repository: https://github.com/stevenh/docker.git
Documentation: pkg.go.dev

# Packages

Package command contains the set of Dockerfile commands.
Package parser implements a parser and parse tree dumper for Dockerfiles.

# Functions

BuildFromConfig builds directly from `changes`, treating it as if it were the contents of a Dockerfile It will: - Call parse.Parse() to get an AST root for the concatenated Dockerfile entries.
NewBFlags returns the new BFlags struct.
NewBuilder creates a new Dockerfile builder from an optional dockerfile and a Config.
NewBuildManager creates a BuildManager.
ProcessWord will use the 'env' list of environment variables, and replace any env var references in 'word'.
ProcessWords will use the 'env' list of environment variables, and replace any env var references in 'word' then it will also return a slice of strings which represents the 'word' split up based on spaces - taking into account quotes.

# Variables

BuiltinAllowedBuildArgs is list of built-in allowed build args.

# Structs

BFlags contains all flags information for the builder.
Builder is a Dockerfile builder It implements the builder.Backend interface.
BuildManager implements builder.Backend and is shared across all Builder objects.
Flag contains all information for a flag.

# Type aliases

FlagType is the type of the build flag.