dockerbuild

package
v0.0.0-...-87f958c Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2015 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:        "dockerbuild",
	Usage:       "Build container from Dockerfile",
	Description: "Use the Docker build system to produce a Harpoon container.",
	Action:      buildAction,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "context",
			Usage: "Docker build context, i.e. directory. Overrides other build options.",
		},
		cli.StringFlag{
			Name:  "from",
			Value: defaultFrom,
			Usage: "Docker image to base your container on",
		},
		cli.StringSliceFlag{
			Name:  "add",
			Value: &cli.StringSlice{},
			Usage: "SRC:DST, file(s) to include in your container (ADD src dst) [repeatable]",
		},
		cli.StringFlag{
			Name:  "tag",
			Value: defaultTag,
			Usage: "Tag for built image",
		},
		cli.StringFlag{
			Name:  "output",
			Value: defaultOutput,
			Usage: "Output filename, or URL to POST",
		},
		cli.BoolFlag{
			Name:  "keep",
			Usage: "keep intermediate context directory",
		},
	},
	HideHelp: true,
}

Command is the dockerbuild subcommand.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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