fix(docker): preserve Docker -w workdir in main-wrapper#35485
fix(docker): preserve Docker -w workdir in main-wrapper#35485ilonagaja509-glitch wants to merge 1 commit into
Conversation
|
Superseded by #36259, which merged in 81dd43a and fixes #35472 with the same approach you took here — save the working directory before Thanks for the early fix @ilonagaja509-glitch — you spotted and solved this correctly. I went with #36259 because it was rebased onto current main (it uses the Verified end-to-end before merge: on the old image |
Fixes #35472. Docker init scripts cd to /opt/data for setup but never restore the original working directory. Save pre-/opt/data cwd, then cd back before exec so container starts in Docker -w directory. Includes regression test.