Commit Graph

8 Commits

Author SHA1 Message Date
Tim Hockin e7d9ff3499
Fix stage_binaries.sh to be smarter about links
Also delete some more cruft to make the image a bit smaller
2025-09-10 16:46:20 -07:00
Tim Hockin a203e93502
Change baseimage to trixie 2025-09-08 10:50:51 -07:00
Tim Hockin da2d7ca2f2 Shellcheck stage_binaries.sh 2024-06-21 19:52:27 -07:00
Tim Hockin 4c4bd3b310 Fix staging script
Better error handling in case of failed commands.

Match "vdso" and "vdso64".
2024-02-05 14:44:03 -08:00
Tim Hockin a56f58dbe1
Drop distroless and DIY
Distroless is stuck on debian 11 - we can do the same thing, more or
less in our own script.  Sad that we have to, but here we are.

The net result is a about 8MB smaller and passes e2e and passes trivy.
2023-07-28 15:31:16 -07:00
Tim Hockin 22b2e8e35a Update to use bookworm base image
This include symlinks from /bin -> /usr/bin (and lib, and ...), which
broke the build script.  See comments in there for details.
2023-07-16 12:10:55 -07:00
Tim Hockin e603667224 Make container builds faster by not repeating work 2023-06-26 13:28:46 -07:00
Tim Hockin f037087d13
Make the container image smaller
For each package and binary we need, this pulls in all the files and
deps (shared libs, mostly).  The build is slower but the final image is
85 MB (versus 157 MB before).  e2e passes.  Hopefully less CVE surface.

This is based on scripts used in kubernetes and KinD.
2023-06-12 12:21:51 -07:00