Dagger
Search

earthly

Provides a functionallity to run Earth

Installation

dagger install github.com/wingyplus/daggerverse/earthly@f8fe2b8c01af78d0a837f4a3a4a7edb8b8d9be76

Entrypoint

Return Type
Earthly !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-Source directory.
dockerConfigFile -The Docker configuration. It's uses for authenticate with the registry auth
Example
func (m *myModule) example(source *Directory) *Earthly  {
	return dag.
			Earthly(source)
}

Types

Earthly 🔗

Earthly module for dagger.

run() 🔗

Run earthly.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
func (m *myModule) example(ctx context.Context, source *Directory, args []string)   {
	return dag.
			Earthly(source).
			Run(ctx, args)
}

withEarthly() 🔗

Setup Earthly with mounting source into workspace.

Return Type
Container !
Example
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			Earthly(source).
			WithEarthly()
}

dockerEngine() 🔗

Return Type
Service !
Example
func (m *myModule) example(source *Directory) *Service  {
	return dag.
			Earthly(source).
			DockerEngine()
}

buildkitd() 🔗

Start the Earthly Buildkitd as a service.

Return Type
Service !
Example
func (m *myModule) example(source *Directory) *Service  {
	return dag.
			Earthly(source).
			Buildkitd()
}