nixpkgs-suyu/pkgs/build-support/docker
Tom Boettcher 1e8b69c35e dockerTools: Fix layer redundancy.
When building an image with multiple layers, files
already included in an underlying layer are supposed to
be excluded from the current layer. However, some subtleties
in the way filepaths are compared seem to be blocking this.

Specifically:
* tar generates relative filepaths with directories ending in '/'
* find generates absolute filepaths with no trailing slashes on directories

That is, paths extracted from the underlying tarball look like:
    nix/store/.../foobar/
whereas the layer being generated uses paths like:
    /nix/store/.../foobar

This patch modifies the output of "tar -t" to match the latter format.
2016-09-23 16:40:59 -05:00
..
default.nix dockerTools: Fix layer redundancy. 2016-09-23 16:40:59 -05:00
detjson.py
pull.nix lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
pull.sh
tarsum.go dockerTools: disable compression in tarsum.go 2016-07-02 02:22:36 -04:00