From b328a92f0e3c648bad7ef47a98f1db75e545789a Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 24 Jul 2024 22:39:59 -0400 Subject: initial commit --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..4b545d7 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +Critical infrastructure. + +Compiles to 384 byte statically-linked arm64 linux binary and a ~4k +container image. + +Build, run, and view binary size on an arm64 linux system: + + > make + ... + > ./hi + alonzo sucks! + > wc -c ./hi + 384 ./hi + > + +Build container image, then check image size: + + > podman build -t hi:latest . + ... + > podman images --format '{{.Size}}' hi + 3.83 kB + > -- cgit v1.2.3