apko
No long description provided.
Installation
dagger install github.com/vito/daggerverse/apko@5b9647d7753300826ebe41bc661ecbb7ed9a876bEntrypoint
Return Type
Apko Example
dagger -m github.com/vito/daggerverse/apko@5b9647d7753300826ebe41bc661ecbb7ed9a876b call \
func (m *MyModule) Example() *dagger.Apko {
return dag.
Apko()
}@function
def example() -> dagger.Apko:
return (
dag.apko()
)@func()
example(): Apko {
return dag
.apko()
}Types
Apko 🔗
alpine() 🔗
Alpine returns a Container with the specified packages installed from Alpine repositories.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| packages | [StringKind ! ] ! | - | No description provided |
| branch | StringKind ! | - | No description provided |
Example
dagger -m github.com/vito/daggerverse/apko@5b9647d7753300826ebe41bc661ecbb7ed9a876b call \
alpinefunc (m *MyModule) Example(packages , branch ) {
return dag.
Apko().
Alpine(packages, branch)
}@function
def example(packages: , branch: ) -> :
return (
dag.apko()
.alpine(packages, branch)
)@func()
example(packages: , branch: ): {
return dag
.apko()
.alpine(packages, branch)
}wolfi() 🔗
Wolfi returns a Container with the specified packages installed from Wolfi OS repositories.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| packages | [StringKind ! ] ! | - | No description provided |
Example
dagger -m github.com/vito/daggerverse/apko@5b9647d7753300826ebe41bc661ecbb7ed9a876b call \
wolfifunc (m *MyModule) Example(packages ) {
return dag.
Apko().
Wolfi(packages)
}@function
def example(packages: ) -> :
return (
dag.apko()
.wolfi(packages)
)@func()
example(packages: ): {
return dag
.apko()
.wolfi(packages)
}