gpgconf
Modify .gnupg home directories. More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpgconf.html>.
RUN apt-get update && \
apt-get install -y gpgconf
RUN apt-get update && \
apt-get install -y gpgconf
RUN pacman -S --noconfirm gpgconf
RUN apt-get update && \
apt-get install -y gpgconf
RUN yum install -y gnupg2
RUN dnf install -y gnupg2
RUN apt-get update && \
apt-get install -y gnupg2