You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Europa: docker.#Run: apply image config as defaults #1247
Prior to Europa, Dagger relies on Buildkit to manage exec defaults. For example op.#Workdir would translate to llb.Workdir in Buildkit, and all future calls to Exec would automatically use that default value for workdir.
In Europa, Dagger must not use this feature of buildkit, and it must not implement this feature in its own implementation either. Rather, it is the CUE caller’s responsibility to manage defaults if they so choose. In other words, engine.#Exec is stateless.
In the Dagger Universe, the responsibility of managing these defaults falls primarily on the universe.dagger.io/docker package, specifically docker.#Run. When a relevant field is not set (for example workdir or user, it is the responsibility of docker.#Run to use the corresponding value from image instead.
This feature is not yet implemented. This issue tracks its implementation.
Activity