filebot / filebot-docker

Docker build files for FileBot
https://hub.docker.com/r/rednoah/filebot/
Apache License 2.0
55 stars 18 forks source link

Filebot alpine image #18

Open GentleHoneyLover opened 9 months ago

GentleHoneyLover commented 9 months ago

Thanks for the great app! Have been using it for many years!

Quick question - is the alpine image of filebot published in a container repository? I can’t seem to find on Docker Hub.

The Dockerfile seems to be working fine - just made a local image build and all is fine.

rednoah commented 9 months ago

You can build it yourself based on the https://github.com/filebot/filebot-docker/blob/master/Dockerfile.alpine spec. Do note that the alpine container is fairly untested and may or may not work partially or at all.

I'd recommend sticking to the standard Ubuntu-based image. FileBot and dependencies is large, so the base image being bigger or small makes little difference.

GentleHoneyLover commented 9 months ago

Thanks! That's what I did — build it myself :). I maintain my own image (https://github.com/GentleHoneyLover/deluge-filebot-docker) where I combine FileBot, FileBotTool and Deluge in one container.

Now I'm experimenting with migrating my whole thing from Ubuntu base image to Alpine (Deluge image on Alpine is much smaller compared to Ubuntu). I was planning on using a multistage build based on your Alpine container to then add /opt/filebot to my Deluge container. Having an ability to just pull a FileBot Alpine image would mean I would't need to maintain my own Dockerfile code for it :)

rednoah commented 9 months ago

Cheers. Let me know if you need any help. java and filebot should be easy, but you definitely wanna run tests for all the native components, e.g. libmediainfo. The filebot -script fn:sysinfo should give you some information, at least ensure that libraries can be loaded, though the process may still crash when actually processing files.

GentleHoneyLover commented 9 months ago

@rednoah, thanks! Here's what I have so far: link. Based on my quick testing it seems to be working — I downloaded a couple of files and FIleBot renamed them just fine. filebot -script fn:sysinfo doesn't indicate any problems as far as I can tell.

You could help by doing some testing on your end. Any suggestions to improve the image (and perhaps making it smaller in size) are very welcome! :)

Thanks a lot!