engine.#Build: fix optional fields in spec

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-12-21 14:29:50 +01:00 committed by Sam Alba
parent 7d40e79366
commit c86fd92d38

View File

@ -91,12 +91,11 @@ package engine
}]
// FIXME: options ported from op.#DockerBuild
platforms: [...string]
target: string
buildArg: [string]: string
label: [string]: string
target: string
hosts: [string]: string
platforms?: [...string]
target?: string
buildArg?: [string]: string
label?: [string]: string
hosts?: [string]: string
}
// Root filesystem produced by build