TroyHurts
node-pre-gyp install failing inside docker container
I'm building something that depends on a library with a native component (pulsar-client) and it doesn't work directly in deno because of #16164. I'm trying to use the workaround described in https://github.com/denoland/deno/issues/15611#issuecomment-1330469239 to manually run the dependency's
install
script. This works fine in macOS, but in a Docker build the command fails when afaict it's trying to untar what the NAPI glibc tarball.
The failing command is
And in the Docker build I get
I've put minimal project files and the rest of the logs in a gist https://gist.github.com/treuherz/8f7a6b408785252c2cb5abce08156f81
I don't understand how node-compatibility is supposed to work well enough to have any idea what's going wrong here.1 replies