Dagger
Search

wolfi

Wolfi is a container-native Linux distribution with an emphasis on security.
https://wolfi.dev

Installation

dagger install github.com/sipsma/dagger/modules/wolfi@b4b2699cdf775e1ef65745b3215a1d308a604e20

Entrypoint

Return Type
Wolfi
Example
dagger -m github.com/sipsma/dagger/modules/wolfi@b4b2699cdf775e1ef65745b3215a1d308a604e20 call \
func (m *MyModule) Example() *dagger.Wolfi  {
	return dag.
			Wolfi()
}
@function
def example() -> dagger.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
NameTypeDefault ValueDescription
packages[String ! ] -

APK packages to install

archString -

Hardware architecture to target

extraRepositories[String ! ] -

Extra repositories to add to the package resolver

extraKeyUrls[String ! ] -

Extra keys needed to authenticate the extra repositories

overlays[Container ! ] -

Overlay images to merge on top of the base. See https://twitter.com/ibuildthecloud/status/1721306361999597884

Example
dagger -m github.com/sipsma/dagger/modules/wolfi@b4b2699cdf775e1ef65745b3215a1d308a604e20 call \
 container
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Wolfi().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.wolfi()
		.container()
	)
@func()
example(): Container {
	return dag
		.wolfi()
		.container()
}