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