Dagger
Search

apt

No long description provided.

Installation

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

Entrypoint

Return Type
Apt !
Arguments
NameTypeDescription
ctrContainer !No description provided
Example
dagger -m github.com/marxarelli/daggerverse/apt@b119faf2411f8848e625cbacffbd101e014df164 call \
 --ctr IMAGE:TAG
func (m *myModule) example(ctr *Container) *Apt  {
	return dag.
			Apt(ctr)
}
@function
def example(ctr: dagger.Container) -> dag.Apt:
	return (
		dag.apt(ctr)
	)
@func()
example(ctr: Container): Apt {
	return dag
		.apt(ctr)
}

Types

Apt 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/marxarelli/daggerverse/apt@b119faf2411f8848e625cbacffbd101e014df164 call \
 --ctr IMAGE:TAG container
func (m *myModule) example(ctr *Container) *Container  {
	return dag.
			Apt(ctr).
			Container()
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
	return (
		dag.apt(ctr)
		.container()
	)
@func()
example(ctr: Container): Container {
	return dag
		.apt(ctr)
		.container()
}

install() 🔗

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