apt
No long description provided.
Installation
dagger install github.com/pck/daggerverse/apt@b0a9f92d368c6a6ad9ccb3d90b2847bc83565ed8
Entrypoint
Return Type
Apt !
Arguments
Name | Type | Description |
---|---|---|
ctr | Container ! | No description provided |
Example
dagger -m github.com/pck/daggerverse/apt@b0a9f92d368c6a6ad9ccb3d90b2847bc83565ed8 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/pck/daggerverse/apt@b0a9f92d368c6a6ad9ccb3d90b2847bc83565ed8 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()
}
update() 🔗
Return Type
Apt !
Example
dagger -m github.com/pck/daggerverse/apt@b0a9f92d368c6a6ad9ccb3d90b2847bc83565ed8 call \
--ctr IMAGE:TAG update
func (m *myModule) example(ctr *Container) *Apt {
return dag.
Apt(ctr).
Update()
}
@function
def example(ctr: dagger.Container) -> dag.Apt:
return (
dag.apt(ctr)
.update()
)
@func()
example(ctr: Container): Apt {
return dag
.apt(ctr)
.update()
}
install() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/pck/daggerverse/apt@b0a9f92d368c6a6ad9ccb3d90b2847bc83565ed8 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)
}