-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hello,
I'm using libxml through samlify and I have some problem when using my app in a Docker Alpine container (base on the official node one):
> saml-test@0.0.1 start /opt/app
> node -r make-promises-safe lib/index.js
/opt/app/node_modules/bindings/bindings.js:88
throw e
^
Error: Error loading shared library xmljs.node: No such file or directory (needed by /opt/app/node_modules/libxml-xsd/build/Release/node-libxml-xsd.node)
at Object.Module._extensions..node (module.js:689:18)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at bindings (/opt/app/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/opt/app/node_modules/libxml-xsd/index.js:8:34)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
I tried to build and rebuild with gyp, I checked the content of node_modules/libxmljs-mt/build/Release/, xmljs.node is there (in obj.target too) and it works perfectly outside of Docker.
Do you have any clues on why this happens once in a container?
Thank you
Metadata
Metadata
Assignees
Labels
No labels