mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 05:51:32 -06: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 New Issue
Block a user