aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-03-25 13:59:59 +0000
committersickcodes <[email protected]>2021-03-25 13:59:59 +0000
commitd4ffc1f2f315f2953085ee4fee182bc39ad0c26a (patch)
tree2ba5d77b898c8c6ab3e49b89c30d323c9d569fdb /Dockerfile
parentEnable interactive QEMU. Remove envsubst since we are already using bash. Add... (diff)
downloaddocker-osx-d4ffc1f2f315f2953085ee4fee182bc39ad0c26a.tar.xz
docker-osx-d4ffc1f2f315f2953085ee4fee182bc39ad0c26a.zip
Restore fetch-macOS.py from OSX-KVM previous
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 9330937..74c6cb3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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