Port docker.#Copy to hidden fields

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia 2022-01-13 01:04:28 -01:00
parent a129f62042
commit a3f586c6ab
No known key found for this signature in database
GPG Key ID: C6490D872EF1DCA7

View File

@ -42,18 +42,18 @@ import (
dest: string | *"/"
// Execute copy operation
copy: engine.#Copy & {
_copy: engine.#Copy & {
"input": input.rootfs
"source": {
root: contents
path: source
}
dest: copy.dest
"dest": dest
}
output: #Image & {
config: input.config
rootfs: copy.output
rootfs: _copy.output
}
}