Skip to content
Browse files

Docker: Returning to rsync --checksum

  • Loading branch information...
oschuett committed Aug 8, 2019
1 parent e4cf6be commit 1ffd61518204bdcd457b9fda5a80055adf65bc40
Showing with 4 additions and 3 deletions.
  1. +4 −3 tools/docker/scripts/
@@ -25,9 +25,10 @@ if [ -n "${GIT_REF}" ]; then

elif [ -d /mnt/cp2k ]; then
echo -e "\n========== Copying Changed Files =========="
# Since this is for debugging, we assume the image was built on the same
# host and we can rely on rsync's default algorithm which uses timestamps.
rsync --delete \
# We can't rely on timestamps as they depend on the git checkout time.
# Hence, we use checksums despite the IO because a full rebuild would be even more costly.
rsync --checksum \
--delete \
--executability \
--verbose \
--recursive \

0 comments on commit 1ffd615

Please sign in to comment.
You can’t perform that action at this time.