fix: use system Python to fix venv symlink issue #4
Reference in New Issue
Block a user
Delete Branch "fix/netbox-mcp-python-venv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problème
L'image ne démarre pas avec l'erreur :
Le symlink Python dans le venv pointe vers
/root/.local/share/uv/python/cpython-3.13.11-linux-x86_64-musl/bin/python3.13qui existait dans le builder mais pas dans l'image finale.Cause
uvtélécharge sa propre version de Python au lieu d'utiliser celle de l'image Alpine.Fix
UV_PYTHON_PREFERENCE=only-systempour forcer uv à utiliser/usr/local/bin/pythonpython:3.13-alpine3.21(version stable au lieu de 3.14 RC)Test