🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix: reorder chown in dev Dockerfile so pre-commit install succeeds (#4146)
Amir2fb9e0d5d979
diff --git a/.container/Dockerfile b/.container/Dockerfileindex 0c0e84763..e13245614 100644--- a/.container/Dockerfile+++ b/.container/Dockerfile@@ -5,7 +5,6 @@ RUN groupadd -r appuser && useradd -r -g appuser appuserWORKDIR /app/camelCOPY . .-RUN chown -R appuser:appuser /app/camelRUN uv venv .venv --python=3.10 && \. .venv/bin/activate && \@@ -13,6 +12,12 @@ RUN uv venv .venv --python=3.10 && \pip install pre-commit mypy && \pre-commit install+# Hand ownership to the unprivileged user only after the privileged setup+# above. Running `pre-commit install` before this chown keeps the repo+# root-owned during the build, so git does not reject it with+# "detected dubious ownership" (git >= 2.35.2).+RUN chown -R appuser:appuser /app/camel+ENV VIRTUAL_ENV=/app/camel/.venvENV PATH="$VIRTUAL_ENV/bin:$PATH"