docker

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(config *types.Configuration, fallbackDockerfile DockerfileInformation, versionsInfo types.VersionsInformation) (string, error)

BuildImage Builds a Docker image.

func Exec

func Exec(debug bool, args ...string) (string, error)

Exec Executes a docker command.

Types

type DockerfileInformation

type DockerfileInformation struct {
	Name      string
	Path      string
	Content   []byte
	ImageName string
}

DockerfileInformation Dockerfile information.

func GetDockerfileFallback

func GetDockerfileFallback(dockerfileURL, imageName string) (DockerfileInformation, error)

GetDockerfileFallback Downloads and creates the DockerfileInformation of the Dockerfile fallback.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL