scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.2k stars 138 forks source link

zero-dependencies Linux binary #160

Closed scottlamb closed 9 months ago

scottlamb commented 2 years ago

I think it's possible to produce a moonfire-nvr Linux binary that has no dependencies except tzdata and any remotely recent version of glibc. (Or we could try going absolutely statically linked with musl, but then we might also need to bring in jemalloc for decent performance, etc.)

We'd likely still use Docker for the build but have install instructions that don't require either Docker or compilation.

Caveat: on-NVR analytics support will likely be a separate binary that won't be so easy to make zero-dependency. We need to continue using ffmpeg or some other library for H.264 decoding, we'll likely depend on TensorFlow Lite, etc. But I think there's still value anyway in having the core system be super easy to install. Docker is its own pile of complexity for users to deal with.