alpine
A Dagger Module to integrate with Alpine Linux
Installation
dagger install github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ceEntrypoint
Return Type
Alpine !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| arch | String | - | Hardware architecture to build for | 
| branch | String | "edge" | Alpine branch to download packages from | 
| packages | [String ! ] | - | APK packages to install | 
| distro | Enum | "ALPINE" | Alpine distribution to use | 
Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
func (m *MyModule) Example() *dagger.Alpine  {
	return dag.
			Alpine()
}@function
def example() -> dagger.Alpine:
	return (
		dag.alpine()
	)@func()
example(): Alpine {
	return dag
		.alpine()
}Types
Alpine 🔗
An Alpine Linux configuration
distro() 🔗
The distro to use
Return Type
Enum !Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
 distrofunc (m *MyModule) Example()   {
	return dag.
			Alpine().
			Distro()
}@function
def example() -> :
	return (
		dag.alpine()
		.distro()
	)@func()
example():  {
	return dag
		.alpine()
		.distro()
}arch() 🔗
The hardware architecture to build for
Return Type
String !Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
 archfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Alpine().
			Arch(ctx)
}@function
async def example() -> str:
	return await (
		dag.alpine()
		.arch()
	)@func()
async example(): Promise<string> {
	return dag
		.alpine()
		.arch()
}branch() 🔗
The Alpine branch to download packages from
Return Type
String !Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
 branchfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Alpine().
			Branch(ctx)
}@function
async def example() -> str:
	return await (
		dag.alpine()
		.branch()
	)@func()
async example(): Promise<string> {
	return dag
		.alpine()
		.branch()
}packages() 🔗
The APK packages to install
Return Type
[String ! ] !Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
 packagesfunc (m *MyModule) Example(ctx context.Context) []string  {
	return dag.
			Alpine().
			Packages(ctx)
}@function
async def example() -> List[str]:
	return await (
		dag.alpine()
		.packages()
	)@func()
async example(): Promise<string[]> {
	return dag
		.alpine()
		.packages()
}container() 🔗
Build an Alpine Linux container
Return Type
Container !Example
dagger -m github.com/pythoninthegrass/dagger/modules/alpine@234b2d6a48147f36637b02b91a0453c7a9f829ce call \
 containerfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Alpine().
			Container()
}@function
def example() -> dagger.Container:
	return (
		dag.alpine()
		.container()
	)@func()
example(): Container {
	return dag
		.alpine()
		.container()
}