Merge pull request #110 from PeterDaveHello/git-clone-depth-1

Reduce image size by setting git clone depth
This commit is contained in:
sickcodes 2020-12-16 05:00:24 +00:00 committed by GitHub
commit 392c885a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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