Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -17,12 +17,8 @@ RUN qemu-img create vm.img 32G
|
|
17 |
RUN chmod +777 vm.img
|
18 |
RUN cp vm.img /home/ubuntu/vm.img
|
19 |
RUN chmod +777 /home/ubuntu/vm.img
|
20 |
-
RUN wget https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/aarch64/alpine-standard-3.20.3-aarch64.iso
|
21 |
-
RUN mv alpine-standard-3.20.3-aarch64.iso NclearOS2.iso
|
22 |
-
RUN chmod +x NclearOS2.iso
|
23 |
-
RUN cp NclearOS2.iso /home/ubuntu
|
24 |
# Start QEMU and noVNC
|
25 |
CMD /bin/bash -c " \
|
26 |
-
nohup qemu-system-aarch64 -cpu cortex-a53 -M raspi3b -m
|
27 |
cd /noVNC && \
|
28 |
websockify --web . 7860 localhost:5900"
|
|
|
17 |
RUN chmod +777 vm.img
|
18 |
RUN cp vm.img /home/ubuntu/vm.img
|
19 |
RUN chmod +777 /home/ubuntu/vm.img
|
|
|
|
|
|
|
|
|
20 |
# Start QEMU and noVNC
|
21 |
CMD /bin/bash -c " \
|
22 |
+
nohup qemu-system-aarch64 -cpu cortex-a53 -M raspi3b -m 2048 -hda ~/vm.img -vnc :0 -daemonize -usbdevice tablet && \
|
23 |
cd /noVNC && \
|
24 |
websockify --web . 7860 localhost:5900"
|