flox
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/flox@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d
Entrypoint
Return Type
Flox
Example
dagger -m github.com/tsirysndr/daggerverse/flox@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
func (m *myModule) example() *Flox {
return dag.
Flox()
}
@function
def example() -> dag.Flox:
return (
dag.flox()
)
@func()
example(): Flox {
return dag
.flox()
}
Types
Flox 🔗
dev() 🔗
Return a container with flox installed
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/flox@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
dev
func (m *myModule) example() *Container {
return dag.
Flox().
Dev()
}
@function
def example() -> dagger.Container:
return (
dag.flox()
.dev()
)
@func()
example(): Container {
return dag
.flox()
.dev()
}
install() 🔗
Install packages in a Docker Container and return it
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
pkgs | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/flox@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
install --pkgs string1 --pkgs string2
func (m *myModule) example(pkgs []string) *Container {
return dag.
Flox().
Install(pkgs)
}
@function
def example(pkgs: List[str]) -> dagger.Container:
return (
dag.flox()
.install(pkgs)
)
@func()
example(pkgs: string[]): Container {
return dag
.flox()
.install(pkgs)
}