Dagger
Search

devbox

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/devbox@0dd781fc462998725cb8f8eef88158a98945e7a8

Entrypoint

Return Type
Devbox
Example
dagger -m github.com/tsirysndr/daggerverse/devbox@0dd781fc462998725cb8f8eef88158a98945e7a8 call \
func (m *myModule) example() *Devbox  {
	return dag.
			Devbox()
}
@function
def example() -> dag.Devbox:
	return (
		dag.devbox()
	)
@func()
example(): Devbox {
	return dag
		.devbox()
}

Types

Devbox 🔗

run() 🔗

Run a command

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
commandStringKind !-No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/devbox@0dd781fc462998725cb8f8eef88158a98945e7a8 call \
 run
func (m *myModule) example(command )   {
	return dag.
			Devbox().
			Run(command)
}
@function
def example(command: ) -> :
	return (
		dag.devbox()
		.run(command)
	)
@func()
example(command: ):  {
	return dag
		.devbox()
		.run(command)
}

dev() 🔗

Return a container with a dev environment

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/devbox@0dd781fc462998725cb8f8eef88158a98945e7a8 call \
 dev
func (m *myModule) example()   {
	return dag.
			Devbox().
			Dev()
}
@function
def example() -> :
	return (
		dag.devbox()
		.dev()
	)
@func()
example():  {
	return dag
		.devbox()
		.dev()
}

install() 🔗

Install packages in a Docker Container and return it

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
pkgs[StringKind ! ] !-No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/devbox@0dd781fc462998725cb8f8eef88158a98945e7a8 call \
 install
func (m *myModule) example(pkgs )   {
	return dag.
			Devbox().
			Install(pkgs)
}
@function
def example(pkgs: ) -> :
	return (
		dag.devbox()
		.install(pkgs)
	)
@func()
example(pkgs: ):  {
	return dag
		.devbox()
		.install(pkgs)
}