diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-07-24 22:39:59 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-07-24 22:39:59 -0400 |
commit | b328a92f0e3c648bad7ef47a98f1db75e545789a (patch) | |
tree | ed6d37508d13cf3296f8ad57dc7214b0697e979d /README.md | |
download | alonzo-sucks-arm64-b328a92f0e3c648bad7ef47a98f1db75e545789a.tar.bz2 alonzo-sucks-arm64-b328a92f0e3c648bad7ef47a98f1db75e545789a.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
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 + > |