Mercurial > public > mercurial-scm > hg
changeset 52737:e5f97898122f
pytype-docker: make sure the ~/.local/ directory exists
In the case the base image is already properly setup with pytype, the pip
install will not do anything and not create the ~/.local directory. This lead
the later chmod to fail. It seem like a good idea to keep that pip call so I
just create the directory first.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 28 Jan 2025 21:21:07 +0100 |
parents | f06665fc5205 |
children | e38292b85f9f |
files | contrib/docker/pytype/Dockerfile |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/docker/pytype/Dockerfile Mon Jan 20 12:30:08 2025 +0100 +++ b/contrib/docker/pytype/Dockerfile Tue Jan 28 21:21:07 2025 +0100 @@ -2,6 +2,7 @@ USER ci-runner +RUN mkdir /home/ci-runner/.local/ ENV PATH=/home/ci-runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV PYTHONPATH=/home/ci-runner/.local/lib/python3.11/site-packages