I need to build an Ubuntu (16.04 at the moment) base server image for deployment for compliance. We do not want things like...
- any added libraries (like python, perl)
- apt/aptitude/etc (we'll use Chef or Packer.io or something to build an image)
- vim
- ssh/sshd, sh/bash/etc.
- ping
- iputils
- bzip, gzip, tar,
- more, less
sudo
and so forth.
Red Hat has a "minimal" - I see Ubuntu has: Core, MinimalCD, and NetBoot, however, these seem to require network and go and install the "base" Ubuntu image with this sort of stuff. For example, I just did the "Mini"CD which is 57MB, and I didn't select "base" or "standard system utilities", however, it still installed all sorts of stuff... 1.2GB total. 150 packages and 120 libraries...
Research:
This one doesn't answer the question, is too old to resurrect, and the answer starts with "Perhaps" : Ubuntu Server minimal package
Further goals include minimizing disk and memory usage for VM/Cloud cost savings.