mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
An include entry declared in a file that is itself included resolved its relative env_file, and its relative project_directory, against the working directory of the process. For the files of an included project the includer only knows the directory its model is relative to, that of the project above, which is right for the paths of the model, and was used as a path of the file system to look for the env file. Take the project directory of the including file from the local resource loader set by the entry that included it, and lock the behavior with a suite loading include trees from several working directories. Fixes docker/compose#14488 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
423 lines
13 KiB
423 lines
13 KiB