Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Docker2Earthly ¶
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.
Click to show internal directories.
Click to hide internal directories.