I have a base docker image I use for my builds with node v7 installed. I use it to npm install and then copy everything in a fresh docker image that is based on alpine (node:7-alpine). I am getting the following error when running tests in my alpine container:
Error: Error relocating /app/node_modules/bcrypt/build/Release/bcrypt_lib.node: __snprintf_chk: symbol not found
at Object.Module._extensions..node (module.js:598:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
I guess my base image and the alpine one use a different stdlib or something like that?
I have a base docker image I use for my builds with node v7 installed. I use it to
npm installand then copy everything in a fresh docker image that is based on alpine (node:7-alpine). I am getting the following error when running tests in my alpine container:I guess my base image and the alpine one use a different stdlib or something like that?