Commit e638070c authored by seitenca's avatar seitenca Committed by Seitenca
Browse files

feat: first commit

parent 900b520f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ body:
    id: log
    attributes:
      label: Docker log
      description: The logfile of the container (as shown by `docker logs windows`).
      description: The logfile of the container (as shown by `docker logs osx`).
    validations:
      required: true
  - type: textarea
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ body:
    id: log
    attributes:
      label: Docker log
      description: The logfile of the container (as shown by `docker logs windows`).
      description: The logfile of the container (as shown by `docker logs osx`).
    validations:
      required: true
  - type: textarea
+3 −3
Original line number Diff line number Diff line
@@ -6,14 +6,14 @@ body:
  - type: checkboxes
    attributes:
      label: Is your question not already answered in the FAQ?
      description: Please read the [FAQ](https://github.com/dockur/windows/blob/master/readme.md) carefully to avoid asking duplicate questions.
      description: Please read the [FAQ](https://github.com/seitenca/osx/blob/master/readme.md) carefully to avoid asking duplicate questions.
      options:
      - label: I made sure the question is not listed in the [FAQ](https://github.com/dockur/windows/blob/master/readme.md).
      - label: I made sure the question is not listed in the [FAQ](https://github.com/seitenca/osx/blob/master/readme.md).
        required: true
  - type: checkboxes
    attributes:
      label: Is this a general question and not a technical issue?
      description: For questions related to issues you must use the [technical issue](https://github.com/dockur/windows/issues/new?assignees=&labels=&projects=&template=1-issue.yml) form instead. It contains all the right fields (system info, logfiles, etc.) we need in order to be able to help you.
      description: For questions related to issues you must use the [technical issue](https://github.com/seitenca/osx/issues/new?assignees=&labels=&projects=&template=1-issue.yml) form instead. It contains all the right fields (system info, logfiles, etc.) we need in order to be able to help you.
      options:
      - label: I am sure my question is not about a technical issue.
        required: true
−196 KiB (45.8 KiB)
Loading image diff...
+20 −17
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ FROM scratch
COPY --from=qemux/qemu-docker:5.09 / /

ARG VERSION_ARG="0.0"
ARG VERSION_OSX_KVM="326053dd61f49375d5dfb28ee715d38b04b5cd8e"
ARG REPO_OSX_KVM="https://raw.githubusercontent.com/kholia/OSX-KVM"
ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN="true"
@@ -9,33 +11,34 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true"
RUN set -eu && \
    apt-get update && \
    apt-get --no-install-recommends -y install \
        bc \
        curl \
        7zip \
        wsdd \
        samba \
        xz-utils \
        wimtools \
        dos2unix \
        cabextract \
        genisoimage \
        libxml2-utils && \
    uml-utilities \
    libguestfs-tools \
    p7zip-full \
    make \
    dmg2img \
    python3 \
    tesseract-ocr \
    tesseract-ocr-eng && \
    apt-get clean && \
    echo "$VERSION_ARG" > /run/version && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

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=664 https://github.com/qemus/virtiso/releases/download/v0.1.248/virtio-win-0.1.248.tar.xz /drivers.txz
ADD --chmod=755 $REPO_OSX_KVM/$VERSION_OSX_KVM/fetch-macOS-v2.py /run/
ADD --chmod=755 $REPO_OSX_KVM/$VERSION_OSX_KVM/OpenCore/OpenCore.qcow2 /images/
ADD --chmod=755 \
    $REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_CODE.fd \
    $REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_VARS.fd \
    $REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_VARS-1024x768.fd \
    $REPO_OSX_KVM/$VERSION_OSX_KVM/OVMF_VARS-1920x1080.fd /usr/share/OVMF/

EXPOSE 8006 3389
EXPOSE 8006 5900
VOLUME /storage

ENV RAM_SIZE "4G"
ENV CPU_CORES "2"
ENV DISK_SIZE "64G"
ENV VERSION "win11"
ENV VERSION "ventura"

ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
 No newline at end of file
Loading