dockerc
See https://github.com/NilsIrl/dockerc for more information.Installation
dagger install github.com/jedevc/daggerverse/dockerc@546248b807427d90827ae5a06669e58d86436dc0
Entrypoint
Return Type
Dockerc !
Arguments
Name | Type | Description |
---|---|---|
version | String | No description provided |
Example
dagger -m github.com/jedevc/daggerverse/dockerc@546248b807427d90827ae5a06669e58d86436dc0 call \
func (m *myModule) example() *Dockerc {
return dag.
Dockerc()
}
@function
def example() -> dag.Dockerc:
return (
dag.dockerc()
)
@func()
example(): Dockerc {
return dag
.dockerc()
}
Types
Dockerc 🔗
compile() 🔗
Compile an arbitrary target container into an executable file
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
target | Container ! | - | No description provided |
Example
dagger -m github.com/jedevc/daggerverse/dockerc@546248b807427d90827ae5a06669e58d86436dc0 call \
compile --target IMAGE:TAG
func (m *myModule) example(target *Container) *File {
return dag.
Dockerc().
Compile(target)
}
@function
def example(target: dagger.Container) -> dagger.File:
return (
dag.dockerc()
.compile(target)
)
@func()
example(target: Container): File {
return dag
.dockerc()
.compile(target)
}