-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Bug]: GLIBC version in docker 2.35 - Latest is 2.39 [edit -> nixpacks?] #1969
Comments
+1 |
Same issue, let me know if you have a workaround! |
GLIBIC was upgraded to 2.39 in the latest Ubuntu LTS release |
I had the same error (for using prisma) and the workaround was to add the following post deployment command : |
Would be great if there was! People have had to switch to using Dockerfile to get around this: #2550 |
@zaini: Since we have no control over the Nixpacks repository, we cannot influence this, so the only option is to use a custom Dockerfile see this issue railwayapp/nixpacks#1205. |
Description
The current version of GLIBC in the docker containers created when using nixpacks is 2.35
Is there a way to get this up to the latest version?
This prevents quite a bit of things from running like the latest versions of headless chromium via puppeteer because it requires version 2.38
[EDIT]
So I did some digging because my production app has been unable to generate any PDF because of this...
I believe this is definitely a nix issue. I tried to downgrade coolify to a previous version to when it used to work before the nixpacks version was updated. It seems like even then, the lastest version of nixpacks is being used, ultimately giving me the same result.
Is there a way to add the ability to set the nixpacks version, or the ubuntu version of the container generated?
Minimal Reproduction (if possible, example repository)
Deploy a repo app using nixpacks.
Execute
ldd --version
inside the app's containerResult:
ldd (Ubuntu GLIBC 2.35-0ubuntu3.6) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Exception or Error
/root/.cache/puppeteer/chrome/linux-123.0.6312.122/chrome-linux64/chrome: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/dnhl6kcdmhad5402v0irwx3mdfjyzf6i-util-linux-minimal-2.39.2-lib/lib/libmount.so.1)
/root/.cache/puppeteer/chrome/linux-123.0.6312.122/chrome-linux64/chrome: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/dnhl6kcdmhad5402v0irwx3mdfjyzf6i-util-linux-minimal-2.39.2-lib/lib/libmount.so.1)
/root/.cache/puppeteer/chrome/linux-123.0.6312.122/chrome-linux64/chrome: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/dnhl6kcdmhad5402v0irwx3mdfjyzf6i-util-linux-minimal-2.39.2-lib/lib/libblkid.so.1)
/root/.cache/puppeteer/chrome/linux-123.0.6312.122/chrome-linux64/chrome: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/dnhl6kcdmhad5402v0irwx3mdfjyzf6i-util-linux-minimal-2.39.2-lib/lib/libuuid.so.1)
Version
v4.0.0-beta.255
The text was updated successfully, but these errors were encountered: