dockerc
dockerc compiles container images into executable binary files
Installation
dagger install github.com/jedevc/daggerverse/dockerc@87a68d0069e37d7f133cf5c6e4852bc85d1d046e
Entrypoint
Return Type
Dockerc !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | "latest" | No description provided |
Example
dagger -m github.com/jedevc/daggerverse/dockerc@87a68d0069e37d7f133cf5c6e4852bc85d1d046e 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@87a68d0069e37d7f133cf5c6e4852bc85d1d046e 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)
}