dockerfile

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// KanikoTaskString holds the raw definition of the Kaniko task.
	// We export this into ./examples/kaniko.yaml
	KanikoTaskString = `` /* 1310-byte string literal not displayed */

	// KanikoTask is the parsed form of KanikoTaskString.
	KanikoTask tknv1beta1.Task
)

Functions

func Build

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

Build returns a TaskRun suitable for performing a Dockerfile build over the provided source 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 extra kaniko arguments for handling things like insecure registries
	KanikoArgs []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