Docker pulling different image Sha256 and build issue


I am trying to build image with docker which again picking wrong image sha256

I am trying image amazonlinux
in my machine (mac) its : 766ebb052d4f
but in ci: c5d0a3e53f12

Don’t know because of this there is a build error or due to docker configuration. while installing package i got this error.

Error unpacking rpm package iputils-20121221-7.13.amzn1.x86_64

error: unpacking of archive failed on file /bin/ping;5912072c: cpio: cap_set_file
error: iputils-20121221-7.13.amzn1.x86_64: install failed

Please help me out.

Mithun Mandal