Added a layer (RUN pip install cassandra-driver) at the beginning af Dockerfile for graphite-aggregator-cache and graphite-web containers.
Since the installation and build of this driver is the one that takes most of the time during the build, that part of the build will not be processed during subsequent builds triggered by local modification of biggraphite sources.
Coverage remained the same at 81.894% when pulling 5a3b3dd94b1fce390a23dda8f93cd82c99cb1c63 on jfwm2:optimize-docker-build into b5ff87249aae7f50f73a5a33e9b0eb919810bc3f on criteo:master.
Added a layer (RUN pip install cassandra-driver) at the beginning af Dockerfile for graphite-aggregator-cache and graphite-web containers. Since the installation and build of this driver is the one that takes most of the time during the build, that part of the build will not be processed during subsequent builds triggered by local modification of biggraphite sources.