From 0e213c26021f18eb137ddfb3c5da1a149344dd84 Mon Sep 17 00:00:00 2001 From: shwoop Date: Mon, 6 Oct 2025 17:03:51 +0200 Subject: [PATCH] Add GnuPG to facilitate gpg based request signing --- alpine.Dockerfile | 4 ++-- debian.Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 4cb1241..1fc46c0 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -39,8 +39,8 @@ RUN apk add -q --update --progress --no-cache ca-certificates RUN apk add -q --update --progress --no-cache tzdata ENV TZ= -# Setup Git and SSH -RUN apk add -q --update --progress --no-cache git mandoc git-doc openssh-client +# Setup Git and SSH and GPG +RUN apk add -q --update --progress --no-cache git mandoc git-doc openssh-client gnupg COPY .ssh.sh /root/ RUN chmod +x /root/.ssh.sh # Retro-compatibility symlink diff --git a/debian.Dockerfile b/debian.Dockerfile index 62954c8..334eabc 100644 --- a/debian.Dockerfile +++ b/debian.Dockerfile @@ -43,14 +43,14 @@ RUN apt-get update -y && \ rm -r /var/cache/* /var/lib/apt/lists/* ENV TZ= -# Setup Git and SSH +# Setup Git and SSH and GPG # Workaround for older Debian in order to be able to sign commits RUN echo "deb https://deb.debian.org/debian bookworm main" >> /etc/apt/sources.list && \ apt-get update && \ apt-get install -y --no-install-recommends -t bookworm git git-man && \ rm -r /var/cache/* /var/lib/apt/lists/* RUN apt-get update -y && \ - apt-get install -y --no-install-recommends man openssh-client less && \ + apt-get install -y --no-install-recommends man openssh-client less gpg && \ rm -r /var/cache/* /var/lib/apt/lists/* COPY .ssh.sh /root/ RUN chmod +x /root/.ssh.sh