mirror of
https://github.com/actions/runner.git
synced 2025-12-15 22:47:01 +00:00
Install gpg-agent during actions/runner container image build (#3294)
`add-apt-repository` depends on `gpg-agent`
This commit is contained in:
committed by
GitHub
parent
0f15173045
commit
bd7235ef62
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user