-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat: Automate HPLIP driver and plugin installation #726
base: master
Are you sure you want to change the base?
Conversation
Could you build an image for arm64. My amd64 machine is currently broken (motherboard fried due to lightening). |
@ameer1234567890 i haven't tested the arm build but it is now published on |
Sorry, I was wrong. It should be arm, not arm64 |
@ameer1234567890 ok, ive published arm/v7 (same as scanservjs) now. |
I tested it and my HP scanner is detected perfectly. However, unlike the original scanservjs docker image, my Canon scanner is not detected now. |
Successfully tested with |
Hi, |
The image I linked in my original comment is still up to date since it was based on the |
Got it - thanks. Sorry didn't see that |
Closes #701 #724
This abides by the "no additional backends in docker" intention because it does not install anything unless the user explicitly sets either
HP_AIO
orHP_PLUGIN
envs.HP_AIO=true
to install onlylibsane-hpaio
dependency at container startHP_PLUGIN=true
to installlibsane-hpaio
and HPLIP binary plugin at container startThe scripts also check for install status of the dependency and plugin so they will only run if not already installed.
Additionally, the script that installs the plugin,
hplip.sh
, is distribution agnostic so it can be used in any local install of scanservjs as long as the OS has the equivalent hpaio driver installed (which also installshp-plugin
).A docker image is built with these changes at
foxxmd/scanservjs:latest