This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/nocsi on 2025-01-28 08:21:27+00:00.


Just curious, how many of you write your own dockerfiles/know how to do so vs. just pulling down someone else’s willy-nilly? My workflow is:

  • Git submodule of project alongside configuration files in a child dataset
  • Dockerfile based on project’s dockerfile referencing that repo or my own custom one building it thats tailored for passing in environment vars and permissions
  • Docker Compose file with build step referencing dockerfile for that service
  • Keep my containers linked against my own registry
  • Update submodule as needed

If you can compile an open source project, you can write your own Dockerfile. Honestly many of you should be if you want to be able to load drivers like intel QAT or other accelerations. I get the sense that people on here are perfectly fine just pulling down whatever, but maybe a side question – how many of you compile the projects you use?