From e04f071250617fdf40fd6169c6bb49b005464e47 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 28 Feb 2020 00:29:54 +0100 Subject: [PATCH] Pre-populate image with my repo-signing-key Signed-off-by: Knut Ahlers --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fd17f7d..2e66071 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ RUN set -ex \ git \ && useradd -m -u 1000 builder \ && echo "builder ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/builder \ - && echo "keyserver hkp://pool.sks-keyservers.net" >>/etc/pacman.d/gnupg/gpg.conf \ + && pacman-key --init \ + && pacman-key --keyserver hkp://keyserver.ubuntu.com -r 6F73A4F39CDF652E3F944142085AA223D0391BF9 \ + && pacman-key --lsign-key 6F73A4F39CDF652E3F944142085AA223D0391BF9 \ && curl -sSfLo /usr/local/bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64" \ && curl -sSfLo /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64" \ && chmod 0755 \