-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Locally installed distro binaries ignored? #27
Comments
I see that bin-wrapper
I have tried to compare between the two projects but I'm not noticing any differences as to why pngquant is working as expected and cwebp is having trouble? |
The |
Tracking PR. If this gets merged, all the imagemin binary packages relying on |
@polarathene from what I can see in the Google documentation (and from trying to add |
Actually I've solved this for myself by archiving necessary modules like cwebp,mozjpeg,pngquant into some tar archive. Now, my images do not require any c compilers and dynamic libs but libjpeg-turbo and libpng. |
I've solved this by forking. I've changed the postinstall script to use system binaries by creating symlink. |
I have a docker alpine image. I'm building it without wanting to compile binaries for packages. I have
cwebp
binary from an official Alpine package installed already.cwebp -version
returns1.0.0
, this package only seems to source binaries via URLs to this repo and then call the binary version check?Not sure why this is failing, is it downloading a binary for linux assuming compatibility with Alpine and preferring that invalid binary to the globally installed one?
It's here:
fails to run:
outside of that location, running installed alpine package version works fine:
The text was updated successfully, but these errors were encountered: