Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"glibc Alpine" is broken and shall not be used #1567

Closed
catdevnull opened this issue Nov 30, 2022 · 12 comments
Closed

"glibc Alpine" is broken and shall not be used #1567

catdevnull opened this issue Nov 30, 2022 · 12 comments
Labels
docker An issue that occurs when running in Docker

Comments

@catdevnull
Copy link

catdevnull commented Nov 30, 2022

As explained by one of Alpine's main developers, glibc Alpine Linux is broken and shouldn't be used. It is used in bun in the Alpine container image

@Electroid Electroid added the build An issue related to building or compiling label Nov 30, 2022
@catdevnull
Copy link
Author

related to #918

@catdevnull catdevnull changed the title "GLibC Alpine" is broken and shall not be used "glibc Alpine" is broken and shall not be used Mar 11, 2023
@catdevnull
Copy link
Author

catdevnull commented Mar 11, 2023

Wolfi could be a good alternative as it was suggested before

@catdevnull
Copy link
Author

would PRs using Wolfi have a chance to get merged?

@jbergstroem
Copy link
Contributor

How about distroless? Is a Linux distribution required? Build on ubuntu/debian and copy over whats requird.

@moderation
Copy link

Distroless would be OK. The team behind Wolfi (working at Chainguard) are ex-Googlers that worked on a lot of the container tooling like Distroless. I think of Wolfi as the newer, shinier successor to Distroless

@dlorenc
Copy link

dlorenc commented Mar 11, 2023

Hey! I'm with the Wolfi team and we'd be happy to help here.

@jbergstroem
Copy link
Contributor

See #2369

@Electroid Electroid added docker An issue that occurs when running in Docker and removed build An issue related to building or compiling labels Sep 19, 2023
@charlzyx
Copy link

i fixed it by alpine-pkg-glibc/2.34, here is reference

NOTE: Glibc 2.35 package is broken: sgerrand/alpine-pkg-glibc#176, so we stick to 2.34 for now
https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc/blob/master/Dockerfile

@catdevnull
Copy link
Author

the "glibc alpine package" is broken again because there's no such thing as glibc Alpine, only a broken hack. please read the post in OP to understand why!

@catdevnull
Copy link
Author

on the other hand, there's now a distroless image 🥳 this will work properly because it's based in Debian with glibc 👍

@Electroid
Copy link
Contributor

We now have a distroless Docker image available at oven/bun:distroless. We will be tracking official support for MUSL here: #918

@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
@catdevnull
Copy link
Author

Sadly the Alpine glibc image still exists, which is problematic and misleading imo (see there is no such thing as a "glibc based alpine image")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker An issue that occurs when running in Docker
Projects
None yet
Development

No branches or pull requests

6 participants