You are not logged in.
Hello,
I've been trying to add a gpg signature in order to build some AUR packages inside a docker archlinux container:
FROM base/archlinux:latest
MAINTAINER xantares
# Update base system
RUN pacman -Sy --noconfirm --noprogressbar archlinux-keyring \
&& pacman-key --populate \
&& pacman -Su --noconfirm --noprogressbar pacman \
&& pacman-db-upgrade \
&& pacman -Su --noconfirm --noprogressbar ca-certificates \
&& trust extract-compat \
&& pacman -Syyu --noconfirm --noprogressbar \
&& (echo -e "y\ny\n" | pacman -Scc)
# add user
RUN useradd -m -d /home/devel -u 1000 -U -G users,tty -s /bin/bash devel
RUN echo 'devel ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER devel
RUN gpg --recv 980C197698C3739D
This fails with the following message:
Step 7/7 : RUN gpg --recv 980C197698C3739D
---> Running in b2d2594c9c12
gpg: directory '/home/devel/.gnupg' created
gpg: keybox '/home/devel/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: Cannot assign requested address
The command '/bin/sh -c gpg --recv 980C197698C3739D' returned a non-zero code: 2
Offline