Well, as the error messages says, there are dependencies that the rpm
expects which are not present.
Is there a specific reason to use the latest RPM instead of just yum install -y imagemagick
? That’d be by far the easiest solution. This gives ImageMagick 6.7.8-9
version for me on centos:latest
.
If you absolutely must use the latest RPM, you probably need to yum update -y
and yum install -y
the listed libraries that the package assumes will be present but aren’t. I’m not 100% sure, but it’s possible the RPM expects some libraries to be around already which aren’t present in the centos
image (Docker images are usually pretty barebones by default).