Update Dockerfile

Stick qemux/qemu-arm 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
This commit is contained in:
Alice King Tai Poon 潘景泰 2024-07-17 15:03:21 +08:00 committed by GitHub
parent a21a526911
commit d59e732596
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
FROM scratch
COPY --from=qemux/qemu-arm:2.10 / /
COPY --from=qemux/qemu-arm: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-arm/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"]