Re:DUR: The Debian User Repository
by _d7dt on Saturday June 26, 2021 @04:01AM
(#27640046)
I don't install build-essential on a server, in a container, on a VM, etc. It really matters in those places. If you combine them then you lose the ability to deploy a small rootfs.
[ Parent
| on HN ]
Servers, VMs etc. always end up getting build-essential to handle random python/ruby/npm/... package installations, as the shipped versions are hopelessly outdated and creating your own debian packages for all of them is about as enjoyable as performing appendix surgery on yourself.
Multi-stage builds do make it a bit easier to get rid of them for containers, yes, but during the build stage it's still required.