Open bendikro opened 6 years ago
Hey, @bendikro, thanks for your question.
I commented on a similar question here https://github.com/grammarly/rocker/issues/199#issuecomment-374695094, hope it helps a bit.
Regarding your particular cases:
docker build
I'm sad to see that the project is discontinued :-(
From the README:
Could you please give some advice on how to replace rocker's template support with standard Docker? We have many images that heavily rely on templating to support inheritance and various versions of OSes and tools, which was the main reason we used rocker. Docker simply had way too many unnecessary restrictions. Has this changed lately?
A typical image starts with:
{{ define "parentImageTpl"}}{{ .parentImageNamePrefix }}utils:{{ .distroName }}{{ .distroVersion }}{{end}} FROM {{template "parentImageTpl" .}}
Also, how to support MOUNT during build with standard docker? E.g.
# yum cache using rocker mount {{ if (ne .packageCache "") }} MOUNT {{ .packageCache }}/yum:/var/cache/yum {{end}}
Any advice would be appreciated!