engine.#Build support

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-12-20 19:52:22 +01:00
committed by Sam Alba
parent 13e7236c8b
commit 2467fb1920
15 changed files with 469 additions and 3 deletions

View File

@@ -71,7 +71,6 @@ package engine
// Build a container image using buildkit
// FIXME: rename to #Dockerfile to clarify scope
#Build: {
@dagger(notimplemented)
$dagger: task: _name: "Build"
// Source directory to build
@@ -83,6 +82,13 @@ package engine
} | {
contents: string
}
platforms: [...string]
target: string
buildArg: [string]: string
label: [string]: string
target: string
hosts: [string]: string
}
// Root filesystem produced by build