mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Relative paths are now calculated from a base path rather than from the file path, which gets treated like a directory. Symlinks will now properly point to the file as "../<layer dir>/layer.tar" rather the incorrect "../../<layer dir>/layer.tar". Fixes #24951 Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) (cherry picked from commit 5487881e120e927d7210adf0cb09181092c3ab35) Signed-off-by: Tibor Vass <tibor@docker.com>