Example: docker (not yet documented)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
parent
ca4da5e472
commit
3168129611
14
examples/docker/main.cue
Normal file
14
examples/docker/main.cue
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"dagger.io/dagger"
|
||||||
|
"dagger.io/docker"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Container source code (must include a Dockerfile)
|
||||||
|
source: dagger.#Artifact
|
||||||
|
|
||||||
|
// Container image
|
||||||
|
container: docker.#Build & {
|
||||||
|
"source": source
|
||||||
|
}
|
Reference in New Issue
Block a user