# Packages
Package dockerfile is the evaluation step in the Dockerfile parse/evaluate pipeline.
No description provided by the author
# Functions
DetectContextFromRemoteURL returns a context and in certain cases the name of the dockerfile to be used irrespective of user input.
GetContextFromGitURL uses a Git URL as context for a `docker build`.
GetContextFromLocalDir uses the given local directory as context for a `docker build`.
GetContextFromReader will read the contents of the given reader as either a Dockerfile or tar archive.
GetContextFromURL uses a remote URL as context for a `docker build`.
MakeGitContext returns a Context from gitURL that is cloned in a temporary directory.
MakeRemoteContext downloads a context from remoteURL and returns it.
MakeTarSumContext returns a build Context from a tar stream.
ValidateContextDirectory checks if all the contents of the directory can be read and returns an error if some files can't be read symlinks which point to non-existing files don't trigger an error.
# Constants
DefaultDockerfileName is the Default filename with Docker commands, read by docker build.
# Structs
DockerIgnoreContext wraps a ModifiableContext to add a method for handling the .dockerignore file at the root of the context.
HashedFileInfo is a convenient struct that augments FileInfo with a field.
PathFileInfo is a convenience struct that implements the FileInfo interface.
# Interfaces
Backend abstracts calls to a Docker Daemon.
Context represents a file system tree.
FileInfo extends os.FileInfo to allow retrieving an absolute path to the file.
Hashed defines an extra method intended for implementations of os.FileInfo.
Image represents a Docker image used by the builder.
ImageCache abstracts an image cache.
ImageCacheBuilder represents a generator for stateful image cache.
ModifiableContext represents a modifiable Context.
# Type aliases
WalkFunc is the type of the function called for each file or directory visited by Context.Walk().