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

Issue with docker build due to End of life debian support #40

Closed
mah-sanjay opened this issue Jul 24, 2024 · 4 comments
Closed

Issue with docker build due to End of life debian support #40

mah-sanjay opened this issue Jul 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mah-sanjay
Copy link

During docker build, we encountered this issue:

> [main stage-1 17/20] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y     libgmp-dev     php8.1-gmp:
0.351 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
0.419 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
0.442 Get:4 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
1.225 Get:3 https://packages.sury.org/php buster InRelease
1.297 Err:3 https://packages.sury.org/php buster InRelease
1.297   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
1.448 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
2.496 Get:6 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [610 kB]
3.534 Get:7 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
3.566 Reading package lists...
4.032 E: Failed to fetch https://packages.sury.org/php/dists/buster/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
4.032 E: The repository 'https://packages.sury.org/php buster InRelease' is not signed.
------
failed to solve: process "/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y     libgmp-dev     php${PHP_VERSION}-gmp" did not complete successfully: exit code: 100

Issue is caused by end of life debian support - oerdnj/deb.sury.org#2098

Thank you

@geerlingguy geerlingguy added the bug Something isn't working label Jul 24, 2024
@geerlingguy
Copy link
Owner

To fix this, I'll first need to update the php-apache-container build: https://github.com/geerlingguy/php-apache-container — I need to go from buster to probably bookworm: https://github.com/geerlingguy/php-apache-container/blob/master/main.yml#L7

@geerlingguy
Copy link
Owner

Step one is complete—I've rebuilt the base container on Bookworm. I'll update this repo to pull from it maybe on PHP 8.2 and see how it fares.

@geerlingguy
Copy link
Owner

This should be fixed as of commit 7ebb8ee — let me know if you have any trouble!

@mah-sanjay
Copy link
Author

Hi @geerlingguy ,

Thanks alot for your quick response and resolving the issue immediately.
I can confirm that the issue is resolved just by pulling latest image. Also adding the note that php version is now bumped to 8.2.

Much appreciate your work.

Sanjay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants