wolfi
Wolfi is a container-native Linux distribution with an emphasis on security.https://wolfi.dev
Installation
dagger install github.com/helderco/dagger/modules/wolfi@8dac6d5f8db71c650e8bcb1b4e9199a0a3acfd78
Entrypoint
Return Type
Wolfi
Example
dagger -m github.com/helderco/dagger/modules/wolfi@8dac6d5f8db71c650e8bcb1b4e9199a0a3acfd78 call \
func (m *myModule) example() *Wolfi {
return dag.
Wolfi()
}
@function
def example() -> dag.Wolfi:
return (
dag.wolfi()
)
@func()
example(): Wolfi {
return dag
.wolfi()
}
Types
Wolfi 🔗
A Wolfi Linux configuration
container() 🔗
Build a Wolfi Linux container
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] | - | APK packages to install |
arch | String | - | Hardware architecture to target |
overlays | [Container ! ] | - | Overlay images to merge on top of the base. See https://twitter.com/ibuildthecloud/status/1721306361999597884 |
Example
dagger -m github.com/helderco/dagger/modules/wolfi@8dac6d5f8db71c650e8bcb1b4e9199a0a3acfd78 call \
container
func (m *myModule) example() *Container {
return dag.
Wolfi().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.wolfi()
.container()
)
@func()
example(): Container {
return dag
.wolfi()
.container()
}