docker.#Run: remove redundant image field

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2022-02-09 06:16:13 +00:00
parent b251528535
commit ce1a5659eb
7 changed files with 26 additions and 35 deletions

View File

@@ -62,7 +62,7 @@ dagger.#Plan & {
config: build.config
}
run: docker.#Run & {
image: myimage
input: myimage
command: name: "ls"
export: files: {
"/dagger.txt": _ & {
@@ -78,13 +78,13 @@ dagger.#Plan & {
}
}
verify_cmd_is_run: docker.#Run & {
image: myimage
input: myimage
export: files: "/dagger.txt": _ & {
contents: "hello from dagger"
}
}
verify_env_is_overridden: docker.#Run & {
image: myimage
input: myimage
export: files: "/dagger.txt": _ & {
contents: "hello from europa"
}
@@ -92,7 +92,7 @@ dagger.#Plan & {
}
verify_working_directory: docker.#Run & {
image: myimage
input: myimage
command: {
name: "sh"
flags: "-c": #"""
@@ -104,7 +104,7 @@ dagger.#Plan & {
}
}
verify_working_directory_is_overridden: docker.#Run & {
image: myimage
input: myimage
workdir: "/"
command: {
name: "sh"