docker2earthly

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Docker2Earthly

func Docker2Earthly(dockerfilePath, earthfilePath, imageTag string) error

Docker2Earthly converts an existing Dockerfile in the current directory and writes out an Earthfile in the current directory and error is returned if an Earthfile already exists.

func GenerateEarthfile added in v0.7.8

func GenerateEarthfile(buildContextPath string, dockerfilePath string, imageTags []string, buildArgs []string, platforms []string, target string) (string, error)

GenerateEarthfile returns an Earthfile content string which contains a target to build a docker image using FROM DOCKERFILE

Types

This section is empty.

Jump to

Keyboard shortcuts

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