wyveo / nginx-php-fpm

Nginx + PHP-FPM 8.2.x / 8.1.x / 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian (Bullseye/Buster) image
https://hub.docker.com/r/wyveo/nginx-php-fpm
MIT License
342 stars 245 forks source link

Using an incorrect PGP key for the 81 image #77

Open jaspertandy opened 5 months ago

jaspertandy commented 5 months ago

Using the following Dockerfile:

FROM wyveo/nginx-php-fpm:php81

RUN apt-get update

Results in an error:

#5 6.126 Err:4 https://packages.sury.org/php bullseye InRelease
#5 6.126   The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
#5 7.472 Get:9 http://nginx.org/packages/mainline/debian bullseye/nginx amd64 Packages [37.0 kB]
#5 10.58 Reading package lists...
#5 12.86 W: GPG error: https://packages.sury.org/php bullseye InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
#5 12.86 E: The repository 'https://packages.sury.org/php bullseye InRelease' is not signed.

Adjusting the Dockerfile to be:

FROM wyveo/nginx-php-fpm:php81

RUN apt-key del 95BD4743
RUN wget -q -O - https://packages.sury.org/php/apt.gpg | apt-key add -

RUN apt-get update

Lets this pass, aside from the apt-key deprecation warnings - I'm sure there's a better way to fix this upstream. This is as much for anyone finding the issue as it is in anticipation of a fix.

c-andrey commented 1 month ago

the sury package was fixed, but i'm having this issue on 80 image

GPG error: http://nginx.org/packages/mainline/debian buster InRelease: The following signatures were invalid: EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <signing-key@nginx.com>
The repository 'http://nginx.org/packages/mainline/debian buster InRelease' is not signed.
ThanhQuang1410 commented 3 weeks ago

Is there any update on this issue @colinwilson ? I am having trouble in installing kafka ext. Thank you

colinwilson commented 3 weeks ago

@ThanhQuang1410 Will fix this over the coming weekend. 👍

ThanhQuang1410 commented 3 weeks ago

Love to hear that @colinwilson . Thank you 🥰