Exercism has been trying to reduce the size of deployed Docker images. There is a forum thread that lists the size of Docker images for each track.
The size of the exercism/zig-test-runner Dockerfile, as of 2023-08-25T11:00:00Z:
149 MB /opt/zig/zig
40 MB /root/.cache/zig/
36 MB /opt/zig/lib/libc/
12 MB /opt/zig/lib/include/
11 MB /opt/zig/lib/std/
8 MB /opt/zig/lib/libcxx/
4 MB /lib/libcrypto.so.3
3 MB /opt/zig/lib/tsan/
1 MB /usr/lib/
1 MB /bin/
Total image size: 270 MB
We could shrink the image by doing some combination of:
Exercism has been trying to reduce the size of deployed Docker images. There is a forum thread that lists the size of Docker images for each track.
The size of the
exercism/zig-test-runnerDockerfile, as of2023-08-25T11:00:00Z:We could shrink the image by doing some combination of:
bin/run.sh(4fc9277)/opt/doc/directory (c9822a1)-Denable-llvm=false, then use the x86_64 backend (currently considered experimental), via-fno-llvm -fno-lld.FROM scratchimage, instead of Alpine