docker-gameserver icon indicating copy to clipboard operation
docker-gameserver copied to clipboard

Store generate config locally for repeatable builds

Open B13rg opened this issue 1 year ago • 0 comments

This PR makes the following changes to how dockerfiles are templated:

  • add yq python dependency for json parsing
  • set pyenv version to 3.12.2
  • parse csv game data into json for use in templating
  • store game configs locally for diff reference

By storing the shortname data locally, it can be referenced more easily by the templates instead of translating env vars. My goal with this PR is to centralize the template config in the json files, to make it easier to add additional config data for the docker-compose files. Eventually, it would be nice to completely configure it based on data in server cfg files (like here)

After this PR, I plan on fetching distro and server info to use in the dockerfile.

No changes to generated files

B13rg avatar Sep 19 '24 02:09 B13rg