dockerfile

package
v0.19.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KanikoImage is the path to the kaniko image we use for Dockerfile builds.
	KanikoImage = "gcr.io/kaniko-project/executor:multi-arch"
)

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, kontext name.Reference, target name.Tag, opt Options) *tknv1beta1.TaskRun

Build returns a TaskRun suitable for performing a Dockerfile build over the provided kontext and publishing to the target tag.

Types

type Options

type Options struct {
	// Dockerfile is the path to the Dockerfile within the build context.
	Dockerfile string

	// The path within the build context in which to execute the build.
	Path string
}

Options holds configuration options specific to Dockerfile builds

Jump to

Keyboard shortcuts

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