this post was submitted on 20 Oct 2023
1472 points (99.0% liked)

Programmer Humor

32179 readers
451 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dan@upvote.au 5 points 11 months ago (1 children)

The OS in a container is usually pretty barebones though. Great containers usually use distroless base images. https://github.com/GoogleContainerTools/distroless

[–] Cysioland@lemmygrad.ml 3 points 11 months ago (1 children)

Ah, so there is something even more barebones than Alpine

[–] FrederikNJS@lemm.ee 2 points 11 months ago* (last edited 11 months ago)

Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary.

The busybox image is also more barebones than alpine, but still has a couple of basic tools.