|
|
|
@ -28,10 +28,8 @@
|
|
|
|
|
#
|
|
|
|
|
# docker run --device /dev/kvm --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
# Run with SSH:
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
# docker run --device /dev/kvm --device /dev/snd -e RAM=6 -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest
|
|
|
|
|
# # ssh fullname@localhost -p 50922
|
|
|
|
|
#
|
|
|
|
@ -49,7 +47,6 @@
|
|
|
|
|
#
|
|
|
|
|
# docker run ... -e EXTRA="-usb -device usb-host,hostbus=1,hostaddr=8" ...
|
|
|
|
|
# # you will also need to pass the device to the container
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
FROM archlinux:latest
|
|
|
|
|
|
|
|
|
@ -130,10 +127,10 @@ WORKDIR /home/arch/OSX-KVM/gibMacOS
|
|
|
|
|
|
|
|
|
|
# this command takes a while!
|
|
|
|
|
RUN perl -p -i -e 's/print("Succeeded:")/exit()/' ./gibMacOS.command \
|
|
|
|
|
&& { python gibMacOS.command -v "${VERSION}" -d || echo Done; } \
|
|
|
|
|
&& qemu-img convert /home/arch/OSX-KVM/gibMacOS/macOS\ Downloads/publicrelease/*/BaseSystem.dmg -O qcow2 -p -c /home/arch/OSX-KVM/BaseSystem.img \
|
|
|
|
|
&& qemu-img create -f qcow2 /home/arch/OSX-KVM/mac_hdd_ng.img "${SIZE}" \
|
|
|
|
|
&& rm /home/arch/OSX-KVM/gibMacOS/macOS\ Downloads/publicrelease/*/BaseSystem.dmg
|
|
|
|
|
&& { python gibMacOS.command -v "${VERSION}" -d || echo Done; } \
|
|
|
|
|
&& qemu-img convert /home/arch/OSX-KVM/gibMacOS/macOS\ Downloads/publicrelease/*/BaseSystem.dmg -O qcow2 -p -c /home/arch/OSX-KVM/BaseSystem.img \
|
|
|
|
|
&& qemu-img create -f qcow2 /home/arch/OSX-KVM/mac_hdd_ng.img "${SIZE}" \
|
|
|
|
|
&& rm /home/arch/OSX-KVM/gibMacOS/macOS\ Downloads/publicrelease/*/BaseSystem.dmg
|
|
|
|
|
|
|
|
|
|
# > Launch.sh
|
|
|
|
|
# > Docker-OSX.xml
|
|
|
|
|