Investigation: how to reduce the size of the image as much as possible.

Summary

We seek to reduce the total image size as reasonably as possible. This is both in layer count, but on the size of those layers.

Details / Challenges

Backing graph driveer

Image layers using COPY --from=build /install-root are currently resulting in excess content on per-layer / image basis. We are investigating after observing this, we are examining changing the storage driver, as it appears this largely stems from overlay2's internal implementation.

Docker Slim

https://github.com/slimtoolkit/slim

Acceptance

  • Documentation of challenges investigated, and what those investigations led to
  • Further Spike issues on any implementation alterations
Edited by Jason Plum