Example: docker (not yet documented)

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-04-02 01:00:08 +00:00
parent ca4da5e472
commit 3168129611

14
examples/docker/main.cue Normal file
View 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
}