build

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	AddHost   []string `usage:"Add a custom host-to-IP mapping (host:ip)"`
	BuildArg  []string `usage:"Set build-time variables"`
	CacheFrom []string `usage:"Images to consider as cache sources"`
	F_File    string   `usage:"Name of the Dockerfile (Default is 'PATH/Dockerfile')"`
	Label     []string `usage:"Set metadata for an image"`
	NoCache   bool     `usage:"Do not use cache when building the image"`
	O_Output  string   `usage:"Output directory or - for stdout. (adv. format: type=local,dest=path)"`
	Progress  string   `usage:"Set type of progress output (auto, plain, tty). Use plain to show container output" default:"auto"`
	Q_Quiet   bool     `usage:"Suppress the build output and print image ID on success"`
	Secret    []string `usage:"Secret file to expose to the build (only if BuildKit enabled): id=mysecret,src=/local/secret"`
	T_Tag     []string `usage:"Name and optionally a tag in the 'name:tag' format"`
	Target    string   `usage:"Set the target build stage to build."`
	Ssh       []string `` /* 130-byte string literal not displayed */
	Pull      bool     `usage:"Always attempt to pull a newer version of the image"`
}

func (*Build) Run

func (b *Build) Run(ctx *cli.Context) error

Jump to

Keyboard shortcuts

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