Skip to content

Commit

Permalink
Install gpg-agent during actions/runner container image build (#3294)
Browse files Browse the repository at this point in the history
`add-apt-repository` depends on `gpg-agent`
  • Loading branch information
jww3 committed May 17, 2024
1 parent 0f15173 commit bd7235e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd7235e

Please sign in to comment.