internetarchive / internetarchive/openlibrary
Use --no-install-recommends in dockerfiles
Open
Good First Issue
Lead: @cdrini
Module: Docker
Needs: Response
Priority: 3
Theme: Development
Type: Refactor/Clean-up
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
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:
> It is important to keep in mind that doing this could result in some missing libraries in your projects which you may have to add back explicitly, but this will ultimately give you more control in the dependencies in your project.
Contributor guide
Assessment
This issue has not been assessed yet.