Dagger
Search

picotool

To build picotool, run the following command:

$ dagger -m github.com/jig/dagger-modules/picotool call build container file --path=/opt/pico/picotool/build/picotool export --path=picotool

Installation

dagger install github.com/jig/dagger-modules/picotool@v0.0.4

Entrypoint

Return Type
Picotool
Example
dagger -m github.com/jig/dagger-modules/picotool@4a9ab0e11d4ac89388a5f6a0cde465b25b32c5af call \
func (m *MyModule) Example() *dagger.Picotool  {
	return dag.
			Picotool()
}
@function
def example() -> dagger.Picotool:
	return (
		dag.picotool()
	)
@func()
example(): Picotool {
	return dag
		.picotool()
}

Types

Picotool 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/jig/dagger-modules/picotool@4a9ab0e11d4ac89388a5f6a0cde465b25b32c5af call \
 container
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Picotool().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.picotool()
		.container()
	)
@func()
example(): Container {
	return dag
		.picotool()
		.container()
}

build() 🔗

Setup the environment to build picotool

Return Type
Picotool !
Arguments
NameTypeDefault ValueDescription
versionString -Picotool version to build (default: latest)
Example
dagger -m github.com/jig/dagger-modules/picotool@4a9ab0e11d4ac89388a5f6a0cde465b25b32c5af call \
 build
func (m *MyModule) Example() *dagger.Picotool  {
	return dag.
			Picotool().
			Build()
}
@function
def example() -> dagger.Picotool:
	return (
		dag.picotool()
		.build()
	)
@func()
example(): Picotool {
	return dag
		.picotool()
		.build()
}

terminal() 🔗

Terminal access to the build container

Return Type
Container !
Example
dagger -m github.com/jig/dagger-modules/picotool@4a9ab0e11d4ac89388a5f6a0cde465b25b32c5af call \
 terminal
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Picotool().
			Terminal()
}
@function
def example() -> dagger.Container:
	return (
		dag.picotool()
		.terminal()
	)
@func()
example(): Container {
	return dag
		.picotool()
		.terminal()
}