Use --no-install-recommends in dockerfiles #2656
Labels
Good First Issue
Easy issue. Good for newcomers. [managed]
Lead: @cdrini
Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]
Module: Docker
Issues related to the configuration or use of Docker. [managed]
Priority: 3
Issues that we can consider at our leisure. [managed]
Theme: Development
Issues related to the developer experience and the dev environment. [managed]
Type: Refactor/Clean-up
Issues related to reorganization/clean-up of data or code (e.g. for maintainability). [managed]
Projects
Anywhere we use
apt-get install
in our Dockerfiles, we should also add--no-install-recommends
. According to https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends this creates smaller images which build faster. Note:The text was updated successfully, but these errors were encountered: