mirror of
https://github.com/luzifer-docker/arch-repo-builder.git
synced 2024-12-21 01:51:19 +00:00
Pre-populate image with my repo-signing-key
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
95bc382264
commit
e04f071250
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ RUN set -ex \
|
||||||
git \
|
git \
|
||||||
&& useradd -m -u 1000 builder \
|
&& useradd -m -u 1000 builder \
|
||||||
&& echo "builder ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/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/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" \
|
&& curl -sSfLo /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64" \
|
||||||
&& chmod 0755 \
|
&& chmod 0755 \
|
||||||
|
|
Loading…
Reference in a new issue