Skip to content

Conversation

B13rg
Copy link

@B13rg B13rg commented Sep 19, 2024

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 B13rg marked this pull request as ready for review September 19, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant