-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/50 #237
Comments
That's an imagick error. You need to make sure you have the proper "delegates" built in. Open up a command line and type |
@cdowdy convert -version says |
it's an imagick/docker error not a glide one. Either imagick isn't installed, isn't installed properly, cannot be found by php, not enabled or you can't be found in the path. Did a quick Google for you and this may help |
ok, I ended up using another base image for PHP that is not based on alpine. the rest of the dockerfile logic remained the same |
For others who googled themselves here, I was having the exact same problem (well, different line number in the error). My Dockerfile was pretty much identical with anything related to imagick. My problem was that I was missing imagemagick itself. After adding apk add for imagemagick, problem was fixed and |
Using alpine image docker i just added this to my image and rebuild docker image.
|
@julitroalves just wanted to let you know: your lines saved my problem 👍 |
❓ a question to all: I use https://github.com/docker-slim/docker-slim to tiny my PHP image. the fantastic thing is: the size shrinks from 500MB to 100MB BUT that´s only because a lot of things gets deleted. UPDATE: in case someone is interested, here´s my call to slim an alpine docker image and keep imagemagick working (that does not mean everything else is working 😏 ):
|
Closing as the issue seems to be resolved and isn't directly related Glide's code. |
Can anybody help with the following error?
I'm not sure what kind of library I'm missing, this is my docker file
The text was updated successfully, but these errors were encountered: