Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DockerignoreFilename is the filename for Docker's ignore file.
DockerignoreFilename = ".dockerignore"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Image string Dockerfile string BuildContext io.ReadCloser // contains filtered or unexported fields }
Builder contains all information to build a docker container image
func NewBuilder ¶
func NewBuilder(c *manifest.InvocationImage, cli *command.DockerCli) *Builder
NewBuilder returns a new Docker builder based on the manifest
func (Builder) Digest ¶
Digest returns the name of a Docker Builder, which will give the image name
TODO - return the actual digest
func (*Builder) PrepareBuild ¶
PrepareBuild archives the app directory and loads it as Docker context
Click to show internal directories.
Click to hide internal directories.