package
1.9.0
Repository: https://github.com/alexandrev/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 will do build directly from parameter 'changes', which comes from Dockerfile entries, it will: - call parse.Parse() to get AST root from Dockerfile entries - do build by calling builder.dispatch() to call all entries' handling routines TODO: remove?.
Commit will create a new image from a container's changes TODO: remove daemon, make Commit a method on *Builder ?.
NewBFlags return the new BFlags struct.
NewBuilder creates a new Dockerfile builder from an optional dockerfile and a Config.
ProcessWord will use the 'env' list of environment variables, and replace any env var references in 'word'.

# Constants

NoBaseImageSpecifier is the symbol used by the FROM command to specify that no base image is to be used.

# 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.Builder interface.
CommitConfig contains build configs for commit operation.
Config constitutes the configuration for a Dockerfile builder.
Flag contains all information for a flag.

# Type aliases

FlagType is the type of the build flag.