guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
143 stars 7 forks source link

Binary errors with /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' for node:16.14.2 Docker base image #117

Closed zachsa closed 2 years ago

zachsa commented 2 years ago

in a Dockerfile using Node 16.14.2 as the base image:

FROM node:16.14.2
RUN npm install -g chomp
RUN chomp --version

I get an error:

/usr/local/lib/node_modules/chomp/vendor/chomp: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /usr/local/lib/node_modules/chomp/vendor/chomp)

This doesn't occur when using a later Node base image (FROM node:18.0.0), which is great. But using chomp with node v16.14.2 is tricky. Would it be possible to update the binary to support this use case?

JayaKrishnaNamburu commented 2 years ago

Hey @zachsa the issue was addressed in #118. Please try it

zachsa commented 2 years ago

Hi,

Thank you - I can see that Chomp 0.2.3 is working in containers created from a node:16.14.2 image now