mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-28 18:36:27 +00:00
Merge pull request #110 from PeterDaveHello/git-clone-depth-1
Reduce image size by setting git clone depth
This commit is contained in:
commit
392c885a6a
|
@ -97,7 +97,7 @@ USER arch
|
||||||
|
|
||||||
# download OSX-KVM
|
# download OSX-KVM
|
||||||
WORKDIR /home/arch
|
WORKDIR /home/arch
|
||||||
RUN git clone https://github.com/kholia/OSX-KVM.git
|
RUN git clone --depth 1 https://github.com/kholia/OSX-KVM.git
|
||||||
|
|
||||||
# enable ssh
|
# enable ssh
|
||||||
# docker exec .... ./enable-ssh.sh
|
# docker exec .... ./enable-ssh.sh
|
||||||
|
@ -126,7 +126,7 @@ RUN sudo pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils flex bison e
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/OSX-KVM
|
||||||
|
|
||||||
RUN git clone https://github.com/corpnewt/gibMacOS.git
|
RUN git clone --depth 1 https://github.com/corpnewt/gibMacOS.git
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM/gibMacOS
|
WORKDIR /home/arch/OSX-KVM/gibMacOS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue