diff --git a/sphinx/Dockerfile b/sphinx/Dockerfile --- a/sphinx/Dockerfile +++ b/sphinx/Dockerfile @@ -19,10 +19,13 @@ plantuml \ postgresql-autodoc \ rsync \ - tox + tox && \ + mkdir /home/jenkins/.cache && \ + chown jenkins:jenkins /home/jenkins/.cache USER jenkins RUN --mount=type=cache,id=pip-cache,target=/home/jenkins/.cache/pip,uid=115,gid=120 \ python3 -m pip install --user --upgrade \ - pre-commit + pre-commit \ + && chown jenkins:jenkins /home/jenkins/.cache