docker-library / php

Docker Official Image packaging for PHP
https://php.net
MIT License
3.81k stars 2k forks source link

For php:5.5-apache I get error when I run apt-get update #1347

Closed tkumark closed 1 year ago

tkumark commented 1 year ago

In the docker container php:5.5-apache when I run apt-get update I get the following error W: GPG error: http://security.debian.org/ jessie/updates InRelease: The following signatures were invalid: KEYEXPIRED 1668892417 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50

How do I fix this issue?

wglambert commented 1 year ago

php 5.5 was deprecated in 2016 https://github.com/docker-library/php/pull/289

https://unix.stackexchange.com/a/508728

if you want to continue fetching Jessie backports, you need to use archive.debian.org instead

Here's the Dockerfile of it https://github.com/docker-library/php/blob/882b9c25f14e782e45a978a68d48843b7ac54042/5.5/apache/Dockerfile