DEV: slim image, drop unused packages and use cache mounts (#880)
authorJeff Wong <awole20@gmail.com>
Mon, 4 Nov 2024 18:49:58 +0000 (10:49 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 18:49:58 +0000 (10:49 -0800)
commit785fda38c228f512a653a4bad8742e1b7fd21819
tree57f09914eaeb53097a74b7845cab68fb8956cd56
parent7d548ad4ae3022863262f485505a32df13df1983
DEV: slim image, drop unused packages and use cache mounts (#880)

* DEV: slim image, drop unused packages and use cache mounts

apt using caches for /var/cache/apt, /var/cache/debconf, and var/lib/apt.

Drop autoconf and build-essential from installs, in favor of selective cmake,
g++, pkg-config, and patch packages.

drop apt-get -y upgrade in dockerfile. We should inherit upgrades from base
images. No need to apt-mark hold initscripts now that we're not running `upgrade`

Remove calls to vim as we no longer install vim here. Remove comment for
slimming locales as we have now done so.

merge all apt layers, minimizing amount of --mount arguments in dockerfile
image/base/Dockerfile