From 58f4b6ff2d7092472d70e15b4320b97f69307ea7 Mon Sep 17 00:00:00 2001 From: cavila-evoliq <107415653+cavila-evoliq@users.noreply.github.com> Date: Mon, 17 Apr 2023 18:26:14 -0500 Subject: [PATCH] Update ubuntu-22.04 Dockerfile to add python user script dir (#2508) --- runner/actions-runner.ubuntu-22.04.dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runner/actions-runner.ubuntu-22.04.dockerfile b/runner/actions-runner.ubuntu-22.04.dockerfile index 28a61eb8..b0e5fcea 100644 --- a/runner/actions-runner.ubuntu-22.04.dockerfile +++ b/runner/actions-runner.ubuntu-22.04.dockerfile @@ -98,6 +98,8 @@ COPY docker-shim.sh /usr/local/bin/docker # Configure hooks folder structure. COPY hooks /etc/arc/hooks/ +# Add the Python "User Script Directory" to the PATH +ENV PATH="${PATH}:${HOME}/.local/bin/" ENV ImageOS=ubuntu22 RUN echo "PATH=${PATH}" > /etc/environment \