This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/examples/docker/main.cue
Solomon Hykes 647e4c898b stdlib: improved Docker package
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 15:41:36 -07:00

15 lines
223 B
CUE

package main
import (
"dagger.io/dagger"
"dagger.io/docker"
)
// Container source code (must include a Dockerfile)
source: dagger.#Artifact
// Container image
container: docker.#ImageFromSource & {
"source": source
}