Dockerfile 863 B

123456789101112131415161718192021222324252627282930313233343536
  1. FROM qemux/qemu-docker:latest
  2. ARG DEBCONF_NOWARNINGS="yes"
  3. ARG DEBIAN_FRONTEND "noninteractive"
  4. ARG DEBCONF_NONINTERACTIVE_SEEN "true"
  5. RUN apt-get update \
  6. && apt-get --no-install-recommends -y install \
  7. curl \
  8. novnc \
  9. swtpm \
  10. wimtools \
  11. p7zip-full \
  12. genisoimage \
  13. && apt-get clean \
  14. && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  15. COPY ./src /run/
  16. COPY ./assets /run/assets
  17. ADD https://raw.githubusercontent.com/ElliotKillick/Mido/main/Mido.sh /run/mido.sh
  18. ADD https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso /run/drivers.iso
  19. RUN chmod +x /run/*.sh
  20. EXPOSE 8006
  21. VOLUME /storage
  22. ENV CPU_CORES "2"
  23. ENV RAM_SIZE "4G"
  24. ENV DISK_SIZE "64G"
  25. ARG VERSION_ARG "0.0"
  26. RUN echo "$VERSION_ARG" > /run/version
  27. ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]