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

Outdated Debian (Buster) Repository #166

Closed
aarongerig opened this issue Jun 24, 2024 · 3 comments
Closed

Outdated Debian (Buster) Repository #166

aarongerig opened this issue Jun 24, 2024 · 3 comments

Comments

@aarongerig
Copy link
Contributor

When trying to extend the pimcore/pimcore:PHP7.4-fpm image, the following error is thrown on a simple apt-get update.

1.744 E: The repository 'http://deb.debian.org/debian buster-backports Release' does not have a Release file.
------
failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100

This seems to be because of an outdated Debian Repository (see article).

Would it not make sense to upgrade to Debian bullseye or even bookworm?

@brusch
Copy link
Member

brusch commented Jun 24, 2024

@aarongerig PHP 7.4 is already EOL. All the supported ones, are already on a newer Debian version, see:
https://github.com/pimcore/docker/blob/3.x/.github/workflows/release.yml#L30

In general, we're just extending from the official PHP images, therefore we also use the Debian distro which is given by this images 😉

@brusch brusch closed this as completed Jun 24, 2024
@aarongerig
Copy link
Contributor Author

@brusch That's what I feared. 😉 Unfortunately, we are still dependent on PHP7.4 for this project and therefore cannot update to a newer Docker image.

For all those who also have this issue, here is a workaround. Add the following line before any apt-get calls.

FROM pimcore/pimcore:PHP7.4-fpm

# Add buster-backports to fix issue with outdated Debian Buster repository
RUN echo "deb http://archive.debian.org/debian buster-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list

...

@brusch
Copy link
Member

brusch commented Jun 24, 2024

@aarongerig 👍 thanks for sharing the workaround 😊

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

No branches or pull requests

2 participants