diff options
| author | sickcodes <[email protected]> | 2021-03-25 13:59:59 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-03-25 13:59:59 +0000 |
| commit | d4ffc1f2f315f2953085ee4fee182bc39ad0c26a (patch) | |
| tree | 2ba5d77b898c8c6ab3e49b89c30d323c9d569fdb /Dockerfile | |
| parent | Enable interactive QEMU. Remove envsubst since we are already using bash. Add... (diff) | |
| download | docker-osx-d4ffc1f2f315f2953085ee4fee182bc39ad0c26a.tar.xz docker-osx-d4ffc1f2f315f2953085ee4fee182bc39ad0c26a.zip | |
Restore fetch-macOS.py from OSX-KVM previous
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -165,6 +165,8 @@ RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ WORKDIR /home/arch/OSX-KVM +RUN wget https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/fetch-macOS.py + RUN [[ "${VERSION%%.*}" -lt 11 ]] && { python fetch-macOS.py --version "${VERSION}" \ && qemu-img convert BaseSystem.dmg -O qcow2 -p -c BaseSystem.img \ && qemu-img create -f qcow2 mac_hdd_ng.img "${SIZE}" \ @@ -340,7 +342,7 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" || true --height "${HEIGHT:-1080}" \ --output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ ; } \ - ; ./enable-ssh.sh && ./Launch.sh + ; ./enable-ssh.sh && /bin/bash -c ./Launch.sh # virt-manager mode: eta son # CMD virsh define <(envsubst < Docker-OSX.xml) && virt-manager || virt-manager |