Closed aarongerig closed 2 months ago
@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 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
...
@aarongerig 👍 thanks for sharing the workaround 😊
When trying to extend the
pimcore/pimcore:PHP7.4-fpm
image, the following error is thrown on a simpleapt-get update
.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?