Dagger
Search

apt

No long description provided.

Installation

dagger install github.com/marxarelli/daggerverse/apt@fb4b50df214c8c2d23c27cdc40dfd95f79187920

Entrypoint

Return Type
Apt
Example
dagger -m github.com/marxarelli/daggerverse/apt@fb4b50df214c8c2d23c27cdc40dfd95f79187920 call \
func (m *myModule) example() *Apt  {
	return dag.
			Apt()
}
@function
def example() -> dag.Apt:
	return (
		dag.apt()
	)
@func()
example(): Apt {
	return dag
		.apt()
}

Types

Apt 🔗

install() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
packages[String ! ] !-No description provided
Example
dagger -m github.com/marxarelli/daggerverse/apt@fb4b50df214c8c2d23c27cdc40dfd95f79187920 call \
 install --ctr IMAGE:TAG --packages string1 --packages string2
func (m *myModule) example(ctr *Container, packages []string) *Container  {
	return dag.
			Apt().
			Install(ctr, packages)
}
@function
def example(ctr: dagger.Container, packages: List[str]) -> dagger.Container:
	return (
		dag.apt()
		.install(ctr, packages)
	)
@func()
example(ctr: Container, packages: string[]): Container {
	return dag
		.apt()
		.install(ctr, packages)
}