Comment

Comment by hardwaresofton

See: Distroless images[0]

This is one of the huge benefits of recent systems languages like go and rust -- they compile to single binaries so you can use things like scatch[1] containers. You may have to fiddle with gnu libc/musl libc (usually when getaddrinfo is involved/dns etc), but once you're done with it, packaging is so easy.

Even languages like Node (IMO the most progressive of the scripting languages) have packages like vercel/pkg[2] which produce native binaries.

BTW if you're considering running redis these days... Check out KeyDB[3], it's impressive. There are a lot of redis alternatives with interesting features these days that I wonder if running vanilla redis is even a good idea anymore (outside of ensuring complete feature-set compatibility).

[0]: https://github.com/GoogleContainerTools/distroless

[1]: https://hub.docker.com/_/scratch/

[2]: https://github.com/vercel/pkg

[3]: https://docs.keydb.dev

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton