criteo / biggraphite

Simple Scalable Time Series Database
Apache License 2.0
130 stars 36 forks source link

Optimized Docker rebuild of graphite containers images #507

Closed jfwm2 closed 5 years ago

jfwm2 commented 5 years ago

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.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 81.894% when pulling 5a3b3dd94b1fce390a23dda8f93cd82c99cb1c63 on jfwm2:optimize-docker-build into b5ff87249aae7f50f73a5a33e9b0eb919810bc3f on criteo:master.