Say I have a simple dockerfile:
ADD data.tar.gz .
If data.tar.gz
is corrupted, then ADD
will silently add the corrupted file instead of untarring it. Is there any way of detecting this failure? This happened to me because a Git LFS pointer failed to be resolved and so it built the docker image with the LFS pointer instead of unpacking the data.