From d1b6577bc653163b9ab622b66a5d63376bdb7cbf Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Fri, 17 May 2024 15:47:47 +0200 Subject: [PATCH] Install `gpg-agent` during actions/runner container image build `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 97cd8118f9f..81f5b9a288e 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