Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Ensure 'python' and 'python3' point to Python 3.12 (#1137)

ddupontc3cf21edd910
diff --git a/libs/xfce/Dockerfile b/libs/xfce/Dockerfile
index 9809ebd693..79237a110d 100644
--- a/libs/xfce/Dockerfile
+++ b/libs/xfce/Dockerfile
@@ -85,8 +85,9 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
python3.12 -m pip install uv && \
rm -rf /var/lib/apt/lists/*
-# Ensure 'python' points to Python 3.12
-RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 2
+# Ensure 'python' and 'python3' both point to Python 3.12
+RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 2 && \
+ ln -sf /usr/bin/python3.12 /usr/local/bin/python3
# Remove screensavers and power manager to avoid popups and lock screens
RUN apt-get remove -y \