Closed corradio closed 3 years ago
This PR showcases which step of the dockerfile invalidates the cache, as well as whether the whole build was cached or not.
src/electricitymap❯ brick build contrib/web 2021-01-02 14:49:00,650 [INFO] 🔨 Preparing src/electricitymap/contrib/web.. 2021-01-02 14:49:02,782 [INFO] 💯 Preparation phase done (cached)! 2021-01-02 14:49:02,782 [INFO] 🔨 Building src/electricitymap/contrib/web.. 2021-01-02 14:49:15,437 [INFO] Cache invalidated by COPY [src/electricitymap/contrib/web/topogen.sh, /home/src/electricitymap/contrib/web/topogen.sh] 2021-01-02 14:51:08,367 [INFO] 💯 Finished building src/electricitymap/contrib/web! src/electricitymap❯ brick build contrib/web 2021-01-02 14:51:34,258 [INFO] 🔨 Preparing src/electricitymap/contrib/web.. 2021-01-02 14:51:34,565 [INFO] 💯 Preparation phase done (cached)! 2021-01-02 14:51:34,566 [INFO] 🔨 Building src/electricitymap/contrib/web.. 2021-01-02 14:51:43,775 [INFO] 💯 Finished building src/electricitymap/contrib/web (cached)!
Fixes https://github.com/tmrowco/brick/issues/43 FYI @madsnedergaard
This PR showcases which step of the dockerfile invalidates the cache, as well as whether the whole build was cached or not.
Fixes https://github.com/tmrowco/brick/issues/43 FYI @madsnedergaard