Teradata / docker-images

Docker images used internally by various Teradata projects for automation, testing, etc
Apache License 2.0
40 stars 22 forks source link

Don't rebuild the world when LABEL data changes #37

Closed ebd2 closed 7 years ago

ebd2 commented 7 years ago

LABEL data is stored in a layer in docker images. This means that when it changes, any direct or indirect child images must be rebuilt. This gets expensive for the size images we're building.

This change makes it so that we build child images from an unlabelled layer of their parent images, if the parent image is one that's built from this repository.

ebd2 commented 7 years ago

@alandpost: for you, assuming Travis passes. You might want to wait though; the code that splits it up for travis is hard to test locally.

ebd2 commented 7 years ago

Rebased and merged