dockerTools: rsync contents with -keep-dirlinks

This commit is contained in:
Lazar Bodor 2016-11-24 12:38:18 +11:00
parent 8f63cc6d25
commit 186ed3bf8f

View File

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