Upload windows10-base.dockerfile with huggingface_hub
Browse files- windows10-base.dockerfile +30 -0
windows10-base.dockerfile
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:26.04
|
| 2 |
+
|
| 3 |
+
# 1. Install QEMU, UEFI (OVMF), and TPM tools
|
| 4 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
qemu-system-x86 \
|
| 7 |
+
qemu-utils \
|
| 8 |
+
ovmf \
|
| 9 |
+
swtpm \
|
| 10 |
+
net-tools \
|
| 11 |
+
novnc \
|
| 12 |
+
python3-websockify \
|
| 13 |
+
python3-numpy \
|
| 14 |
+
&& apt-get clean \
|
| 15 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
# 2. Setup Directories
|
| 18 |
+
WORKDIR /vm
|
| 19 |
+
|
| 20 |
+
# 3. Copy Source QCOW2 Image (Read-Only Source)
|
| 21 |
+
COPY win10-cua-image/win10-cua.qcow2 /vm/source.qcow2
|
| 22 |
+
|
| 23 |
+
# 4. Copy the Entrypoint Script
|
| 24 |
+
COPY entrypoint.sh /scripts/entrypoint.sh
|
| 25 |
+
RUN chmod +x /scripts/entrypoint.sh
|
| 26 |
+
|
| 27 |
+
EXPOSE 5900 3389 8006 2222 50051 50052 9090
|
| 28 |
+
|
| 29 |
+
# 5. Define Entrypoint
|
| 30 |
+
ENTRYPOINT ["/entrypoint.sh"]
|