diff options
author | Lazar Bodor <lazar.bodor@ga.gov.au> | 2016-11-24 12:38:18 +1100 |
---|---|---|
committer | Lazar Bodor <lazar.bodor@ga.gov.au> | 2016-11-24 12:48:26 +1100 |
commit | 186ed3bf8f2ef0454991025d0d09c2872580d63d (patch) | |
tree | ff7002afc393051d4c5ae85c1e60fb170ab191eb /pkgs/build-support | |
parent | 8f63cc6d2523558cb670704057c5756603bab7a7 (diff) |
dockerTools: rsync contents with -keep-dirlinks
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 21e0d2b5128a..27575053954f 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -247,7 +247,7 @@ rec { echo "Adding contents..." for item in $contents; do echo "Adding $item" - rsync -a $item/ layer/ + rsync -ak $item/ layer/ done else echo "No contents to add to layer." @@ -310,7 +310,7 @@ rec { echo "Adding contents..." for item in ${toString contents}; do echo "Adding $item..." - rsync -a $item/ layer/ + rsync -ak $item/ layer/ done ''; |