diff --git a/pkg/universe.dagger.io/docker/run.cue b/pkg/universe.dagger.io/docker/run.cue index 57a833b1..c7ecf876 100644 --- a/pkg/universe.dagger.io/docker/run.cue +++ b/pkg/universe.dagger.io/docker/run.cue @@ -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 } } } diff --git a/pkg/universe.dagger.io/docker/test/image-config-test.cue b/pkg/universe.dagger.io/docker/test/image-config-test.cue index aa162362..934867f4 100644 --- a/pkg/universe.dagger.io/docker/test/image-config-test.cue +++ b/pkg/universe.dagger.io/docker/test/image-config-test.cue @@ -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"