Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templating dockerfiles #4

Open
diegoferigo opened this issue Aug 7, 2017 · 0 comments
Open

Templating dockerfiles #4

diegoferigo opened this issue Aug 7, 2017 · 0 comments
Assignees

Comments

@diegoferigo
Copy link
Member

After the last master merge, the Dockerfiles for master and devel are even more similar. For maintainability it might be worth considering the switch to templates in order to reduce code duplication.

I see different choices here:

CMake is very powerful for moving and creating files, we have big experience with it, but it might be cumbersome having a decent configuration file (and I'm thinking a yaml file).

Logic-less engines like mustache might do the work, and most of these kind of engines support out-of-the-box readable configuration files.

For what concerns multiplatform support, if we go towards non-CMake solutions, exploiting python or a meta-solution like a slim docker image to generate docker images would work.

@diegoferigo diegoferigo self-assigned this Aug 7, 2017
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

No branches or pull requests

1 participant