windows11-base / windows11-base.dockerfile
NullVoider's picture
Upload windows11-base.dockerfile with huggingface_hub
176c4f4 verified
FROM ubuntu:26.04
# 1. Install QEMU, UEFI (OVMF), and TPM tools
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
qemu-system-x86 \
qemu-utils \
ovmf \
swtpm \
net-tools \
novnc \
python3-websockify \
python3-numpy \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# 2. Setup Directories
WORKDIR /vm
# 3. Copy Source QCOW2 Image (Read-Only Source)
COPY win11-image/win11.qcow2 /vm/source.qcow2
# 4. Copy the Entrypoint Script
COPY entrypoint.sh /scripts/entrypoint.sh
RUN chmod +x /scripts/entrypoint.sh
EXPOSE 5900 3389 8006 2222 50051 50052 9090
# 5. Define Entrypoint
ENTRYPOINT ["/scripts/entrypoint.sh"]