Reduce image size by setting git clone depth
This commit is contained in:
		
							parent
							
								
									c9d3f6be7b
								
							
						
					
					
						commit
						4b17459897
					
				|  | @ -99,7 +99,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 | ||||||
|  | @ -128,7 +128,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