Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS crashes on start [FIX] #11

Open
jhalag opened this issue Jul 10, 2024 · 1 comment
Open

NodeJS crashes on start [FIX] #11

jhalag opened this issue Jul 10, 2024 · 1 comment

Comments

@jhalag
Copy link

jhalag commented Jul 10, 2024

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

After some digging, it ended up being nodejs/node#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
Copy link
Contributor

mbwhite commented Jul 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants