From a1e6570232dba79454c346a45f004ba101bb15a6 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sat, 1 May 2021 07:14:36 +0000 Subject: [PATCH] stdlib: dagger.io/docker.#Build Signed-off-by: Solomon Hykes --- stdlib/docker/image.cue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stdlib/docker/image.cue b/stdlib/docker/image.cue index 88bc4744..7b65b32c 100644 --- a/stdlib/docker/image.cue +++ b/stdlib/docker/image.cue @@ -6,7 +6,7 @@ import ( ) // Build a Docker image from source, using included Dockerfile -#ImageFromSource: { +#Build: { source: dagger.#Artifact #up: [ @@ -14,8 +14,13 @@ import ( context: source }, ] + } +// Build a Docker image from source, using included Dockerfile +// FIXME: DEPRECATED by #Build +#ImageFromSource: #Build + // Fetch an image from a remote registry #ImageFromRegistry: { ref: string