singularity
No long description provided.
Installation
dagger install github.com/shykes/x/singularity@710496046596b60b1ec5e65f670c1f3b562c130e
Entrypoint
Return Type
Singularity
Example
dagger -m github.com/shykes/x/singularity@710496046596b60b1ec5e65f670c1f3b562c130e call \
func (m *myModule) example() *Singularity {
return dag.
Singularity()
}
@function
def example() -> dag.Singularity:
return (
dag.singularity()
)
@func()
example(): Singularity {
return dag
.singularity()
}
Types
Singularity 🔗
import() 🔗
Import a dagger container into a Singularity SIF file
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Container ! | - | No description provided |
Example
dagger -m github.com/shykes/x/singularity@710496046596b60b1ec5e65f670c1f3b562c130e call \
import --source IMAGE:TAG
func (m *myModule) example(source *Container) *File {
return dag.
Singularity().
Import(source)
}
@function
def example(source: dagger.Container) -> dagger.File:
return (
dag.singularity()
.import_(source)
)
@func()
example(source: Container): File {
return dag
.singularity()
.import(source)
}