Open kdmccormick opened 2 years ago
From Jeremy B:
I've briefly used https://github.com/wagoodman/dive and found it pretty useful. And https://github.com/hadolint/hadolint gives some useful tips also (but won't give you metrics). For elapsed time, https://keeler.github.io/docker-build-profiling/ may be a good starting point
Directly relates to https://github.com/openedx/wg-devops/issues/6
Backgroud
I'd like to "profile" a docker build. The ideal output would include elapsed time, download size, and final layer size for every command in the Dockerfile. End goal is to find the best optimizations for Tutor's Dockerfiles without relying purely on my hunches about what I believe are the slowest parts.
Subtasks
tutor images build openedx
andtutor dev dc build lms
, which build the opendx and openedx-dev images, respectively.