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 k = split[0]
|
||||||
let v = split[1]
|
let v = split[1]
|
||||||
if env[k] == _|_ {
|
if env[k] == _|_ {
|
||||||
"env": "\(k)": v
|
env: "\(k)": v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"workdir": workdir
|
"workdir": workdir
|
||||||
if workdir == _|_ && _image.config.WorkingDir != _|_ {
|
if workdir == _|_ && _image.config.WorkingDir != _|_ {
|
||||||
"workdir": _image.config.WorkingDir
|
workdir: _image.config.WorkingDir
|
||||||
}
|
}
|
||||||
"user": user
|
"user": user
|
||||||
if user == _|_ && _image.config.User != _|_ {
|
if user == _|_ && _image.config.User != _|_ {
|
||||||
"user": _image.config.User
|
user: _image.config.User
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,9 +27,7 @@ dagger.#Plan & {
|
|||||||
}
|
}
|
||||||
run: docker.#Run & {
|
run: docker.#Run & {
|
||||||
image: myimage
|
image: myimage
|
||||||
cmd: {
|
cmd: name: "ls"
|
||||||
name: "ls"
|
|
||||||
}
|
|
||||||
export: files: {
|
export: files: {
|
||||||
"/dagger.txt": _ & {
|
"/dagger.txt": _ & {
|
||||||
contents: "not hello from dagger"
|
contents: "not hello from dagger"
|
||||||
|
Reference in New Issue
Block a user