-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Not support alpine linux #70
Comments
This package is wrapping the versions available on the original distribution, such as http://chromedriver.storage.googleapis.com/index.html?path=2.25/ |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm switching my base image from
node
toalpine
for my nodejs project wechaty: wechaty/wechaty#66after npm install chromedriver in alpine Linux, it can not be run:
instead, we can get the right chromedriver by using
apk add chromedriver
for Alpine Linuxif we use
file
to show the two version, it seems the reason is that the npm version use libc & and Alpine Linux use musl.bash-4.3# file /usr/lib/chromium/chromedriver /usr/lib/chromium/chromedriver: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, stripped bash-4.3# file node_modules/chromedriver/chromedriver/chromedriver node_modules/chromedriver/chromedriver/chromedriver: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, BuildID[sha1]=642a90ebc607bac377950226280b021e68fc8e9c, stripped
hope this could be fixed.
The text was updated successfully, but these errors were encountered: