Open FoxxMD opened 6 months ago
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 foxxmd/scanservjs:latest
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 hpaio:/usb/Deskjet_F2400_series
and -e HP_PLUGIN=true
. Only docker version which is succesfull.
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