Dagger
Search

apko

No long description provided.

Installation

dagger install github.com/vito/daggerverse.git/apko@4809c149d0ed114dc199bc17cfec6b51e4f27858

Entrypoint

Return Type
Apko
Example
dagger -m github.com/vito/daggerverse.git/apko@4809c149d0ed114dc199bc17cfec6b51e4f27858 call \
func (m *myModule) example() *Apko  {
	return dag.
			Apko()
}
@function
def example() -> dag.Apko:
	return (
		dag.apko()
	)
@func()
example(): Apko {
	return dag
		.apko()
}

Types

Apko 🔗

Apko provides utilities for bootstrapping containers from simple package lists.

alpine() 🔗

Alpine returns a Container with the specified packages installed from Alpine repositories.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
packages[String ! ] !-No description provided
branchString !-No description provided
Example
dagger -m github.com/vito/daggerverse.git/apko@4809c149d0ed114dc199bc17cfec6b51e4f27858 call \
 alpine --packages string1 --packages string2 --branch string
func (m *myModule) example(packages []string, branch string) *Container  {
	return dag.
			Apko().
			Alpine(packages, branch)
}
@function
def example(packages: List[str], branch: str) -> dagger.Container:
	return (
		dag.apko()
		.alpine(packages, branch)
	)
@func()
example(packages: string[], branch: string): Container {
	return dag
		.apko()
		.alpine(packages, branch)
}

wolfi() 🔗

Wolfi returns a Container with the specified packages installed from Wolfi OS repositories.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
packages[String ! ] !-No description provided
Example
dagger -m github.com/vito/daggerverse.git/apko@4809c149d0ed114dc199bc17cfec6b51e4f27858 call \
 wolfi --packages string1 --packages string2
func (m *myModule) example(packages []string) *Container  {
	return dag.
			Apko().
			Wolfi(packages)
}
@function
def example(packages: List[str]) -> dagger.Container:
	return (
		dag.apko()
		.wolfi(packages)
	)
@func()
example(packages: string[]): Container {
	return dag
		.apko()
		.wolfi(packages)
}