Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Build container "hierarchy" #81

Open StFS opened 8 years ago

StFS commented 8 years ago

I would like to have multiple tasks where one task creates a "base" container and other tasks create containers that extend that base container.

I'm not quite sure how to do this, is the only way to push the base container up to a registry (Docker Hub or similar) and then pull that in the other tasks? I feel I am mixing building and publishing a bit too much that way. I would like to be able to create this container hierarchy entirely locally on a developers machine without having to publish anything.