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