package
4.14.0+incompatible
Repository: https://github.com/devspace-cloud/devspace.git
Documentation: pkg.go.dev
# Functions
CreateTempDockerfile creates a new temporary dockerfile that appends a new entrypoint and cmd.
GetDockerfileAndContext retrieves the dockerfile and context.
GetDockerfileTargets returns an array of names of all targets defined in a given Dockerfile.
InjectBuildScriptInContext will add the restart helper script to the build context.
NewBuildHelper creates a new build helper for a certain engine.
OverwriteDockerfileInBuildContext will overwrite the dockerfile with the dockerfileCtx.
RewriteDockerfile rewrites the given dockerfile contents with the new entrypoint cmd and target.
# Constants
DefaultContextPath is the default context path to use.
DefaultDockerfilePath is the default dockerfile path to use.
DockerfileTargetRegexTemplate is a template for a regex that finds build targets in a Dockerfile.
# Structs
BuildHelper is the helper class to store common functionality used by both the docker and kaniko builder.
# Interfaces
BuildHelperInterface is the interface the build helper uses to build an image.