You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I am aware there is not better Makefile/build a framework to compose images as in this tool. I have some suggestions/enhancements:
Add "Jinja2" processing of the makefile before yaml is parsed, to allow things like:
% for os_codename in [xenial, bionic]
debian-{{os_codename}:
FROM: debian:{{os_codename}}
% endfor
The text was updated successfully, but these errors were encountered:
Thanks for your comments and issues, @epcim! I agree that would definitely be great to have methods for additional parameterization within the docker-makefile.
For my personal use cases, docker build-args have gone a long way towards addressing this need. Jinja is a little out of scope for my conception of this tool - if I personally needed this functionality, I'd likely just use a separate Jinja CLI tool to generate DockerMake.yml, rather than building templating into docker-make.
What I would like to see anyway is "args" to tasks names and have them available in FROM. Simply as python Template formatting stuff, not the jinja. I know it may pain for "keys" but it's doable.
If I am aware there is not better Makefile/build a framework to compose images as in this tool. I have some suggestions/enhancements:
Add "Jinja2" processing of the makefile before yaml is parsed, to allow things like:
% for os_codename in [xenial, bionic]
debian-{{os_codename}:
FROM: debian:{{os_codename}}
% endfor
The text was updated successfully, but these errors were encountered: