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

Possible to pin a specific version of glibc #261

Closed
hu13 opened this issue Feb 17, 2024 · 2 comments · Fixed by #262
Closed

Possible to pin a specific version of glibc #261

hu13 opened this issue Feb 17, 2024 · 2 comments · Fixed by #262

Comments

@hu13
Copy link
Contributor

hu13 commented Feb 17, 2024

Hi there.

I use this to compile our golang app for linux. And currently, the app is run on ubuntu 20.04 which only has glibc v2.31.
The newer golang-cross image has glibc v.2.36 according to ldd --version

0.169 ldd (Debian GLIBC 2.36-9+deb12u3) 2.36
0.169 Copyright (C) 2022 Free Software Foundation, Inc.
0.169 This is free software; see the source for copying conditions.  There is NO
0.169 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
0.169 Written by Roland McGrath and Ulrich Drepper.

I am exploring the option for our linux users to upgrade their glibc. But that may not be possible, so i wonder if you have any suggestions on whether i can manage to pin a specific glibc version to docker builder?

Thanks

@gythialy
Copy link
Owner

I guess we can't specify the version of glibc, but we can specify the version of Ubuntu. I can add a build-arg to specify the version of Ubuntu, e.g. bookswarm or bulleye to indirectly specify the version of glibc when build the builder image.

@hu13
Copy link
Contributor Author

hu13 commented Feb 20, 2024

@gythialy i would appreciate that feature.

gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
gythialy added a commit that referenced this issue Feb 22, 2024
try to fix #261

Signed-off-by: Goren G <gythialy.koo+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants