Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
update xfce dockerfile to python 3.12
Dillon DuPontb6cca3a17337
diff --git a/libs/xfce/Dockerfile b/libs/xfce/Dockerfileindex d44bdb95db..06fcda51aa 100644--- a/libs/xfce/Dockerfile+++ b/libs/xfce/Dockerfile@@ -27,16 +27,13 @@ RUN apt-get update && apt-get install -y \tigervnc-standalone-server \tigervnc-common \# noVNC dependencies- python3 \- python3-pip \- python3-numpy \+ # python will be installed via deadsnakes as 3.12 \git \net-tools \netcat \supervisor \# Computer-server dependencies- python3-tk \- python3-dev \+ # python-tk/dev for 3.12 will be installed later \gnome-screenshot \wmctrl \ffmpeg \@@ -58,6 +55,14 @@ RUN apt-get update && apt-get install -y \zlib1g-dev \&& rm -rf /var/lib/apt/lists/*+# Install Python 3.12 from deadsnakes (keep system python3 for apt)+RUN add-apt-repository -y ppa:deadsnakes/ppa && \+ apt-get update && apt-get install -y \+ python3.12 python3.12-venv python3.12-dev python3.12-tk && \+ python3.12 -m ensurepip --upgrade && \+ python3.12 -m pip install --upgrade pip setuptools wheel && \+ rm -rf /var/lib/apt/lists/*+# Remove screensavers and power manager to avoid popups and lock screensRUN apt-get remove -y \xfce4-power-manager \@@ -93,8 +98,8 @@ RUN git clone https://github.com/novnc/noVNC.git /opt/noVNC && \RUN mkdir -p /home/cua/.cache && \chown -R cua:cua /home/cua/.cache-# Install computer-server-RUN pip3 install cua-computer-server+# Install computer-server using Python 3.12 pip+RUN python3.12 -m pip install cua-computer-server# Fix any cache files created by pipRUN chown -R cua:cua /home/cua/.cache@@ -107,6 +112,7 @@ COPY src/scripts/ /usr/local/bin/RUN chmod +x /usr/local/bin/*.sh# Setup VNC+RUN chown -R cua:cua /home/cuaUSER cuaWORKDIR /home/cua