ampretia / onvif-mqtt

Bridges ONVIF events from IP Cameras to MQTT
Apache License 2.0
8 stars 1 forks source link

NodeJS crashes on start [FIX] #11

Open jhalag opened 3 months ago

jhalag commented 3 months ago

I have an older Ubuntu server, and the image for onvif-mqtt fails to start in docker.

After some digging, it ended up being https://github.com/nodejs/node/issues/43064

I rebuilt the image locally using node:20-alpine instead of node:20, and it solved the issue for me.

It may be a good idea to switch to node:alpine builds anyway, as they are smaller.

mbwhite commented 3 months ago

Hello, thanks for the details.

Historically I've avoided Alpine images as the different c runtime caused other issues; not applicable to node but just a habit.

So I've nothing against producing another variant of the image based on the alpine variant