package
1.8.2
Repository: https://github.com/labkode/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

Build is the main interface of the package, it gathers the Builder struct and calls builder.Run() to do all the real build job.
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.
Commit will create a new image from a container's changes.
NewBFlags return the new BFlags struct.
NewBuildConfig returns a new Config struct.
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.

# Structs

BFlags contains all flags information for the builder.
CommitConfig contains build configs for commit operation.
Config contains all configs for a build job.
Flag contains all information for a flag.

# Type aliases

FlagType is the type of the build flag.