builddocker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDockerfile

func GenerateDockerfile(w io.Writer, env hcl2nix.OCIArtifact, platform string) error

GenerateDockerfile generates Dockerfile

func GetCurrentContext

func GetCurrentContext() (string, error)

GetCurrentContext gets the current context

func GetSnapshotter

func GetSnapshotter() (string, error)

GetSnapshotter gets the containerd snapshotter value

func ModifyDockerfile added in v0.2.1

func ModifyDockerfile(file *os.File, dev bool, tag string) ([]string, error)

ModifyDockerfile modifies the Dockerfile with the specified tag

func ReadContextEndpoints

func ReadContextEndpoints() (map[string]string, error)

ReadContextEndpoints reads the Docker context endpoints

Types

This section is empty.

Jump to

Keyboard shortcuts

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