flox
This module provides a set of functions to run flox commands and to create a development environment with flox installed.
Installation
dagger install github.com/tsirysndr/daggerverse/flox@e3f6cf1898037fbd6fda06b075ab4504f36be085
Types
Flox 🔗
dev() 🔗
Return a container with flox installed
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
func (m *myModule) 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
func (m *myModule) example(pkgs []string) *Container {
return dag.
Flox().
Install(pkgs)
}