Update ubuntu-22.04 Dockerfile to add python user script dir (#2508)

This commit is contained in:
cavila-evoliq 2023-04-17 18:26:14 -05:00 committed by GitHub
parent 22fbd10bd3
commit 58f4b6ff2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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 \