From bd7235ef62c6fecfb76215ebe54b8b63fb30bbc9 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Fri, 17 May 2024 15:55:44 +0200 Subject: [PATCH] Install `gpg-agent` during actions/runner container image build (#3294) `add-apt-repository` depends on `gpg-agent` --- images/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/Dockerfile b/images/Dockerfile index 97cd8118f..81f5b9a28 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -39,8 +39,9 @@ ENV RUNNER_MANUALLY_TRAP_SIG=1 ENV ACTIONS_RUNNER_PRINT_LOG_TO_STDOUT=1 ENV ImageOS=ubuntu22 +# 'gpg-agent' and 'software-properties-common' are needed for the 'add-apt-repository' command that follows RUN apt update -y \ - && apt install -y --no-install-recommends sudo lsb-release software-properties-common \ + && apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common \ && rm -rf /var/lib/apt/lists/* # Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux