aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4b545d78ae50dfb15e573ecccaf493b2716e2dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
    >