aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
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
+ >