Files
wehub-resource-sync 91e75e620b
CI: cua-driver distro-compat matrix / debian:12 (glibc 2.36) (push) Has been cancelled
CI: SPDX Headers / Check SPDX headers (warn-only) (push) Has been cancelled
CD: Docs MCP Server / build (linux/amd64) (push) Has been cancelled
CD: Docs MCP Server / build (linux/arm64) (push) Has been cancelled
CD: Docs MCP Server / merge (push) Has been cancelled
CI: cua-driver distro-compat matrix / Resolve release version (push) Has been cancelled
CI: cua-driver distro-compat matrix / fedora:41 (glibc 2.40) (push) Has been cancelled
CI: cua-driver distro-compat matrix / rockylinux:9 (glibc 2.34) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:22.04 (glibc 2.35) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:24.04 (glibc 2.39) (push) Has been cancelled
CI: cua-driver distro-compat matrix / Distro compat summary (push) Has been cancelled
CI: Rust Linux unit / Rust Linux unit and compile (push) Has been cancelled
CI: Rust Windows unit / Rust Windows unit and compile (push) Has been cancelled
CI: Nix Linux Rust source / Nix / compositor build (push) Has been cancelled
CI: Nix Linux Rust source / Nix / driver package (push) Has been cancelled
CI: Nix Linux Rust source / Nix / Rust unit tests (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:19 +08:00

40 lines
1.0 KiB
Docker

# Cua Windows Container
#
# A Windows 11 VM with cua-computer-server for Computer-Use Agents.
#
# Build:
# docker build -t trycua/cua-qemu-windows:latest .
#
# With Windows Arena benchmark apps (Chrome, LibreOffice, VLC, etc.):
# docker build --build-arg INSTALL_WINARENA_APPS=true -t trycua/cua-qemu-windows:latest .
#
# Environment variables:
# INSTALL_WINARENA_APPS - "true" to install benchmark apps (Chrome, LibreOffice, VLC, etc.)
FROM trycua/windows-local:latest
# Build argument for Windows Arena benchmark apps
ARG INSTALL_WINARENA_APPS=false
COPY src/vm/setup/. /oem/
COPY --chmod=755 src/entry.sh /entry.sh
# VM configuration
ENV RAM_SIZE="8G"
ENV CPU_CORES="8"
ENV VERSION="win11x64-enterprise-eval"
ENV DISK_SIZE="30G"
# Enable QEMU Machine Protocol for VM control
ENV ARGUMENTS="-qmp tcp:0.0.0.0:7200,server,nowait"
# Pass build arg as env var for setup.ps1 to read
ENV INSTALL_WINARENA_APPS=${INSTALL_WINARENA_APPS}
# Expose ports:
# 5000 - cua-computer-server API
# 8006 - noVNC web interface
EXPOSE 5000 8006
ENTRYPOINT ["/entry.sh"]