NullVoider commited on
Commit
176c4f4
·
verified ·
1 Parent(s): 2134652

Upload windows11-base.dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. windows11-base.dockerfile +30 -0
windows11-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 win11-image/win11.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 ["/scripts/entrypoint.sh"]