pre-commit.Dockerfile: do not reinstall essential packages #5545
Reference in New Issue
Block a user
Delete Branch "smaller-reinstall"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gentoo calls them @system, Debian calls them essential.
These provide the basic system functionality and it can be assumed that they are always present.
Removing them from here keeps the dockerfile cleaner & the build process faster.
I've left perl-base in there as it's pretty heavy and Gentoo and Alpine do not install it by default
Signed-off-by: Filip Kobierski fkobi@fsfe.org
I added them to make clearer exactly what we depend upon, and the speed cost is minimal.
But its fair enough not to install them.
LGTM