Install gpg-agent during actions/runner container image build (#3294)

`add-apt-repository` depends on `gpg-agent`
This commit is contained in:
John Wesley Walker III
2024-05-17 15:55:44 +02:00
committed by GitHub
parent 0f15173045
commit bd7235ef62

View File

@@ -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