2023-08-09, 06:08 AM
If you're using docker-compose you could probably utilize a custom init script to update it automatically when you restart. I'm not sure how other folks start/stop/remove their containers, though.
The LSIO image has custom scripts built in, which makes this super easy and convenient, but it's not hard to do at all yourself, it's the concept of generating an entry point for your container. You would essentially create a bash script compatible with Ubuntu/Debian that runs the apt update/install of whatever you need with all the options (autoremove, etc...) to satisfy dependencies and swap paths if needed. This takes a bit of doing since you have to trial and error it until you're sure the correct version of ffmpeg is running when Jellyfin calls it (i.e., just installing ffmpeg6 may not be the fix you think it is).
The other option is to pull down the repo and modify the Dockerfile, then build it yourself. I don't see this as nearly sustainable or automated, but it's certainly a cleaner solution.
The LSIO image has custom scripts built in, which makes this super easy and convenient, but it's not hard to do at all yourself, it's the concept of generating an entry point for your container. You would essentially create a bash script compatible with Ubuntu/Debian that runs the apt update/install of whatever you need with all the options (autoremove, etc...) to satisfy dependencies and swap paths if needed. This takes a bit of doing since you have to trial and error it until you're sure the correct version of ffmpeg is running when Jellyfin calls it (i.e., just installing ffmpeg6 may not be the fix you think it is).
The other option is to pull down the repo and modify the Dockerfile, then build it yourself. I don't see this as nearly sustainable or automated, but it's certainly a cleaner solution.
Jellyfin 10.10.0 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage