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 returns 1.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?
node node_modules/cwebp-bin/lib/install.js
⚠ spawn /site/node_modules/cwebp-bin/vendor/cwebp ENOENT
⚠ cwebp pre-build test failed
ℹ compiling from source
It's here:
ls node_modules/cwebp-bin/vendor
cwebp
fails to run:
./node_modules/cwebp-bin/vendor/cwebp -version
/bin/sh: ./node_modules/cwebp-bin/vendor/cwebp: not found
outside of that location, running installed alpine package version works fine:
I have a docker alpine image. I'm building it without wanting to compile binaries for packages. I have
cwebpbinary from an official Alpine package installed already.cwebp -versionreturns1.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: