moby--moby/image
Derek McGowan e111f0c7b2 Fix calculation of relative path for symlink on docker save
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 5487881e12)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-26 01:49:29 -07:00
..
spec image spec: Correct set of acceptable characters in tags 2016-07-08 15:32:15 -07:00
tarexport Fix calculation of relative path for symlink on docker save 2016-07-26 01:49:29 -07:00
v1 Update code for latest engine-api 2016-04-19 16:56:54 +02:00
fs.go Safer file io for configuration files 2016-04-21 11:31:15 -07:00
fs_test.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
image.go Add os_version and os_features to Image 2016-04-04 13:14:57 -07:00
image_test.go Add image store 2015-11-24 09:40:24 -08:00
rootfs.go Windows: Support non-base-layered images 2016-04-07 17:52:26 -07:00
rootfs_unix.go Windows: Support non-base-layered images 2016-04-07 17:52:26 -07:00
rootfs_windows.go Windows: Support non-base-layered images 2016-04-07 17:52:26 -07:00
store.go Fix .ensure-emptyfs on non-x86_64 architectures 2016-04-08 17:38:13 -04:00
store_test.go Clear old parent reference on resetting image parent 2016-02-05 17:05:19 -08:00