diff --git a/images/Dockerfile b/images/Dockerfile index 2bd1a338473..97cd8118f9f 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -39,12 +39,14 @@ ENV RUNNER_MANUALLY_TRAP_SIG=1 ENV ACTIONS_RUNNER_PRINT_LOG_TO_STDOUT=1 ENV ImageOS=ubuntu22 -RUN apt-get update -y \ - && apt-get install -y --no-install-recommends \ - sudo \ - lsb-release \ +RUN apt update -y \ + && apt install -y --no-install-recommends sudo lsb-release software-properties-common \ && rm -rf /var/lib/apt/lists/* +# Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux +RUN add-apt-repository ppa:git-core/ppa \ + && apt update -y + RUN adduser --disabled-password --gecos "" --uid 1001 runner \ && groupadd docker --gid 123 \ && usermod -aG sudo runner \