I cannot reproduce this. Copied your Dockerfile and all succeeds (MacBook). You 
should consider adding USER solr as the last line of your file.

Jan

> 1. jun. 2023 kl. 18:38 skrev gnandre <arnoldbron...@gmail.com>:
> 
> Hi,
> 
> I am running into the following issue while creating a custom docker image
> on top of the official Solr docker image (9.2.1).
> 
> The key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key
> 
> Because of this, it further fails with the following error message:
> 
> http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures
> couldn't be verified because the public key is not available: NO_PUBKEY
> 871920D1991BC93C
> 
> It fails on the RUN step. What might be the problem? Is this a genuine
> issue with the base image?
> 
> FROM solr:9.2.1
> 
> USER root
> 
> RUN apt-get update && \
>    apt-get upgrade --yes && \
>    apt-get install --yes locales

Reply via email to