engine.#Copy matches docker.#Copy
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
@@ -29,13 +29,12 @@ engine.#Plan & {
|
||||
}
|
||||
|
||||
copy: engine.#Copy & {
|
||||
input: image.output
|
||||
source: {
|
||||
root: exec.output
|
||||
path: "/output.txt"
|
||||
}
|
||||
dest: "/output.txt"
|
||||
input: image.output
|
||||
contents: exec.output
|
||||
source: "/output.txt"
|
||||
dest: "/output.txt"
|
||||
}
|
||||
|
||||
verify_copy: engine.#ReadFile & {
|
||||
input: copy.output
|
||||
path: "/output.txt"
|
||||
|
@@ -29,12 +29,10 @@ engine.#Plan & {
|
||||
}
|
||||
|
||||
copy: engine.#Copy & {
|
||||
input: image.output
|
||||
source: {
|
||||
root: exec.output
|
||||
path: "/output.txt"
|
||||
}
|
||||
dest: "/output.txt"
|
||||
input: image.output
|
||||
contents: exec.output
|
||||
source: "/output.txt"
|
||||
dest: "/output.txt"
|
||||
}
|
||||
verify_copy: engine.#ReadFile & {
|
||||
input: copy.output
|
||||
|
@@ -23,12 +23,10 @@ engine.#Plan & {
|
||||
}
|
||||
|
||||
copy: engine.#Copy & {
|
||||
input: busybox1_34_1.output
|
||||
source: {
|
||||
root: alpine3_15_0.output
|
||||
path: "/etc/alpine-release"
|
||||
}
|
||||
dest: "/alpine3_15_0_release"
|
||||
input: busybox1_34_1.output
|
||||
contents: alpine3_15_0.output
|
||||
source: "/etc/alpine-release"
|
||||
dest: "/alpine3_15_0_release"
|
||||
}
|
||||
|
||||
verify_copy: engine.#ReadFile & {
|
||||
|
Reference in New Issue
Block a user