Browse Source

dockerTools: rsync contents with -keep-dirlinks

nixos-19.03
Lazar Bodor 6 years ago
parent
commit
186ed3bf8f
  1. 4
      pkgs/build-support/docker/default.nix

4
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
'';

Loading…
Cancel
Save