mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
Update ubuntu-22.04 Dockerfile to add python user script dir (#2508)
This commit is contained in:
@@ -98,6 +98,8 @@ COPY docker-shim.sh /usr/local/bin/docker
|
|||||||
# Configure hooks folder structure.
|
# Configure hooks folder structure.
|
||||||
COPY hooks /etc/arc/hooks/
|
COPY hooks /etc/arc/hooks/
|
||||||
|
|
||||||
|
# Add the Python "User Script Directory" to the PATH
|
||||||
|
ENV PATH="${PATH}:${HOME}/.local/bin/"
|
||||||
ENV ImageOS=ubuntu22
|
ENV ImageOS=ubuntu22
|
||||||
|
|
||||||
RUN echo "PATH=${PATH}" > /etc/environment \
|
RUN echo "PATH=${PATH}" > /etc/environment \
|
||||||
|
|||||||
Reference in New Issue
Block a user