Hello There,
First question after reading quite a few comments on this topic. As far as I understand, the issue is that the pre-built binary expect a different O/S. How do you get this fixed, or should build be done in the docker continer?
Dockerfile looks partially like:
FROM node:16
RUN apt -y update
RUN apt -y install python3-pip
COPY . /opt/SFU
RUN npm update
RUN npm install .
Then run the container like:
docker run -it --entrypoint /bin/bash 123456abcdef
/opt/SFU/node_modules/mediasoup_prebuilt/worker/out/Release/mediasoup-worker
/opt/SFU/node_modules/mediasoup_prebuilt/worker/out/Release/mediasoup-worker: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29’ not found (required by /opt/SFU/node_modules/mediasoup_prebuilt/worker/out/Release/mediasoup-worker)
ldd also show this image. The host operating system on what Dockerimage is built is the same where I am running now - it is an ubuntu 20.04.
So, how is it supposed to work “FROM node:” - or is it mandatory to make mediasoup working to have “FROM ubuntu:” in docker? Or, when using node as base, does mediasoup need a rebuild from source?