From 57c0d83dabf342adae0c8811cd3c1f15f1e3a3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alice=20King=20Tai=20Poon=20=20=20=20=E6=BD=98=E6=99=AF?= =?UTF-8?q?=E6=B3=B0?= <23336645+codenamedpkt@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:26:26 +0800 Subject: [PATCH] Update Dockerfile Stick qemux/qemu-docker to always latest version. Keep wsdd to master branch. Updates default machine specs, to following: - RAM: 8GB - CPU Cores: 8 - Disk size: 512GB - Windows Edition: Windows 11 Enterprise --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32bc617..278ad51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM scratch -COPY --from=qemux/qemu-docker:5.16 / / +COPY --from=qemux/qemu-docker:latest / / ARG VERSION_ARG="0.0" ARG DEBCONF_NOWARNINGS="yes" @@ -27,15 +27,15 @@ RUN set -eu && \ COPY --chmod=755 ./src /run/ COPY --chmod=755 ./assets /run/assets -ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/v0.8/src/wsdd.py /usr/sbin/wsdd +ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/master/src/wsdd.py /usr/sbin/wsdd ADD --chmod=664 https://github.com/qemus/virtiso/releases/download/v0.1.248/virtio-win-0.1.248.tar.xz /drivers.txz EXPOSE 8006 3389 VOLUME /storage -ENV RAM_SIZE "4G" -ENV CPU_CORES "2" -ENV DISK_SIZE "64G" -ENV VERSION "win11" +ENV RAM_SIZE "8G" +ENV CPU_CORES "8" +ENV DISK_SIZE "512G" +ENV VERSION "win11e" ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]