picotool
$ dagger -m github.com/jig/dagger-modules/picotool call build container file --path=/opt/pico/picotool/build/picotool export --path=picotoolInstallation
dagger install github.com/jig/dagger-modules/picotool@v0.0.3Entrypoint
Return Type
Picotool Example
dagger -m github.com/jig/dagger-modules/picotool@e91db70c36cf368ce6c6b32dbd4e0dd2077db02e 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@e91db70c36cf368ce6c6b32dbd4e0dd2077db02e call \
containerfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | Picotool version to build (default: latest) |
Example
dagger -m github.com/jig/dagger-modules/picotool@e91db70c36cf368ce6c6b32dbd4e0dd2077db02e call \
buildfunc (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@e91db70c36cf368ce6c6b32dbd4e0dd2077db02e call \
terminalfunc (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()
}