You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The weirdest part (and the reason I'm opening this issue here) is that this seems to be a conflict with the docker engine, since the issue went away when I upgraded to docker 20.10.6 😳
Environment
Platform: Linux, MacOS X
Docker Version: tested with 20.10.2 and 20.10.6
Node.js Version: tested with lts
Image Tag: tested with node:lts-alpine3.13 and node:lts-alpine3.14
Expected Behavior
npm install node-rdkafka completes successfully regardless of docker engine.
Current Behavior
When using node:lts-alpine3.14 on docker 20.10.2 I receive the above error.
alpine
docker engine
working?
3.13
20.10.2
true
3.13
20.10.6
true
3.14
20.10.2
false
3.14
20.10.6
true
Possible Solution
I don't know enough about NodeJS or how node-gyp interacts with the docker engine to suggest anything.
This was the only remotely related thing I found on the matter, since printf is part of the error message: https://wiki.musl-libc.org/functional-differences-from-glibc.html
I only tested with the node-rdkafka. The indication that this is a NodeJS issue is that upgrading the docker engine version seems to have mitigated the issue for now.
The text was updated successfully, but these errors were encountered:
I ran into a weird issue while updating an image with a
node-gyp
build fromnode:lts-alpine3.13
tonode:lts-alpine3.14
while using docker20.10.2
.The full output can be seen here: https://app.circleci.com/pipelines/github/tchupp/alpine-docker-engine-conflict
The weirdest part (and the reason I'm opening this issue here) is that this seems to be a conflict with the docker engine, since the issue went away when I upgraded to docker
20.10.6
😳Environment
20.10.2
and20.10.6
lts
node:lts-alpine3.13
andnode:lts-alpine3.14
Expected Behavior
npm install node-rdkafka
completes successfully regardless of docker engine.Current Behavior
When using
node:lts-alpine3.14
on docker20.10.2
I receive the above error.Possible Solution
I don't know enough about NodeJS or how
node-gyp
interacts with the docker engine to suggest anything.This was the only remotely related thing I found on the matter, since
printf
is part of the error message: https://wiki.musl-libc.org/functional-differences-from-glibc.htmlSteps to Reproduce
My four test cases are documented here: https://github.com/tchupp/alpine-docker-engine-conflict
Additional Information
I only tested with the
node-rdkafka
. The indication that this is a NodeJS issue is that upgrading the docker engine version seems to have mitigated the issue for now.The text was updated successfully, but these errors were encountered: