Dagger
Search

apt

No long description provided.

Installation

dagger install github.com/marxarelli/daggerverse/apt@27dc67291e07a56f3bf0d08c56acd6eefb67384b

Entrypoint

Return Type
Apt !
Arguments
NameTypeDescription
ctrContainer !No description provided
Example
dagger -m github.com/marxarelli/daggerverse/apt@27dc67291e07a56f3bf0d08c56acd6eefb67384b 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@27dc67291e07a56f3bf0d08c56acd6eefb67384b 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@27dc67291e07a56f3bf0d08c56acd6eefb67384b 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)
}