OK, I read the blog-post (https://blog.linuxserver.io/2019/09/14/customizing-our-containers/) and looked at the accompanying GitHub page. Kinda looks simple enough, but then again, I’m completely green when it comes to Dockerfiles.
So to describe what I’m trying to achieve:
I want to make a mod that adds PyroScope to the linuxserver/rutorrent image.
I’m guessing it will involve adding build-tools to the image, pulling in code, building from source and “installing” the resulting files into a folder that can then be merged into the base image.
- Does the base Alpine Linux image of the mod have to version-match the rutorrent Alpine-version?
- Once the application is compiled, should I uninstall the build-tools?
- Can compiled code be easily “installed” (make install) into a “root” folder of my choosing?
I’m sure these are pretty dumb questions, but I’m no developer, so I’m not used to doing this stuff.
Yours, Fudd79 (trying to learn new stuff)