top | item 45165959

(no title)

flarecoder | 5 months ago

For docker images, cgr.dev/chainguard/wolfi-base (https://images.chainguard.dev/directory/image/wolfi-base/ver...) is a great replacement for Alpine. Wolfi is glibc based. It's easy to switch from Alpine since Wolfi uses apk for package management with similar package names and also contains busybox like Alpine.

discuss

order

dijit|5 months ago

I’d much rather go with distroless, if its a choice.

But I think you can tweak musl to perform well, and musl is closer to the spec than glibc so I would rather use it; even if its slower in the default case for multithreaded programmes.

masklinn|5 months ago

> But I think you can tweak musl to perform well

You can not, its allocator does thread safety via a big lock and that’s that.

> musl is closer to the spec than glibc

Is it?

> even if its slower in the default case for multithreaded programmes.

That’s far from the only situation where it’s slower though.