FEATURE: inherite image from a package
There are some advantage in publishing RPs that consist of an environment.
- It allows to base various packages on the same environment
- It reduced the over-head: no need to have install-deps.sh nor setup-env.sh for simple cases
- It reduces the complexity and boiler-plate aspect of the install/setup scripts.
- It allows more optimize base environment
- It provide a way to make use of the Image cache/layering of docker: same image is cached
How to allow an image dependency?
- Add a new setup parameter: package-name from which the image will be used.
- Make sure the image exists in the image-registry.
- use the image-tag as build-arg for a Universal-Dockerfile
The "Universal" Dockerfile should be build such that it can be iterated based on former images.