dockeramazon-ecsdocker-imagedocker-aws

file integrity checksum failed for "usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4"


I am pushing my docker image to AWS ECS. And, I am getting following error: file integrity checksum failed for "usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4"

Here is the full output:

The push refers to repository [myaddress.dkr.ecr.us-east-1.amazonaws.com/myrepositoryname]
3d4763f6944c: Layer already exists 
5d22ab3cff2d: Layer already exists 
080db391ad2c: Layer already exists 
7030a45b5de7: Layer already exists 
5d98bab77a5b: Layer already exists 
f08694a3abdb: Layer already exists 
c4cfb93dc085: Layer already exists 
1a38a1227cbb: Layer already exists 
caa05d68a0ed: Layer already exists 
891119e77426: Layer already exists 
1f912505da6e: Layer already exists 
f1e810a48819: Layer already exists 
a47630fbce4f: Layer already exists 
09fc3edb847c: Layer already exists 
6b60013e5875: Pushing [==================================================>]  323.9MB/323.9MB
d6335a641f5e: Layer already exists 
5c33df241050: Layer already exists 
ffc4c11463ee: Layer already exists 
file integrity checksum failed for "usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4"

Is there any solution for the above issue? I tried to build an image again and also increased allocated memory in docker.


Solution

  • This solution worked for me:

    docker system prune -a

    And then create a new image and push.