Documentation ¶
Overview ¶
dockerBuild provides functions to build Docker images using the Docker SDK.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageBuild ¶
ImageBuild, uses the docker client specified to build an image out of the files that happen to be on the path specified by srcPath. The specified path should have a Dockerfile and all other files required to build the image. It names the created image as 'imageName'. If the specified path does not exist or does not contain a Dockerfile, ImageBuild will return an error.
Types ¶
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶
type ErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
Click to show internal directories.
Click to hide internal directories.