cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
6db42168e4
commit
0de625e1c3
@ -154,17 +154,17 @@ import (
|
||||
let k = split[0]
|
||||
let v = split[1]
|
||||
if env[k] == _|_ {
|
||||
"env": "\(k)": v
|
||||
env: "\(k)": v
|
||||
}
|
||||
}
|
||||
}
|
||||
"workdir": workdir
|
||||
if workdir == _|_ && _image.config.WorkingDir != _|_ {
|
||||
"workdir": _image.config.WorkingDir
|
||||
workdir: _image.config.WorkingDir
|
||||
}
|
||||
"user": user
|
||||
if user == _|_ && _image.config.User != _|_ {
|
||||
"user": _image.config.User
|
||||
user: _image.config.User
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -27,9 +27,7 @@ dagger.#Plan & {
|
||||
}
|
||||
run: docker.#Run & {
|
||||
image: myimage
|
||||
cmd: {
|
||||
name: "ls"
|
||||
}
|
||||
cmd: name: "ls"
|
||||
export: files: {
|
||||
"/dagger.txt": _ & {
|
||||
contents: "not hello from dagger"
|
||||
|
Reference in New Issue
Block a user