Skip to content

Using an incorrect PGP key for the 81 image #77

@jaspertandy

Description

@jaspertandy

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions