docker-gameserver
docker-gameserver copied to clipboard
Store generate config locally for repeatable builds
This PR makes the following changes to how dockerfiles are templated:
- add
yqpython 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