builder

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDocker

func BuildDocker(cxt context.Context, opts DockerOptions) (string, error)

Build docker images from an archive Currently Docker client is loaded from environment

func PushDocker

func PushDocker(ctx context.Context, image string, opts types.ImagePushOptions) error

func TagImage

func TagImage(ctx context.Context, source, target string) error

Types

type DockerOptions

type DockerOptions struct {
	ArchivePath string
	ArchiveOpts *archive.TarOptions
	Dockerfile  string
	ImageTags   []string
}

Jump to

Keyboard shortcuts

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