mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 00:04:40 +00:00 
			
		
		
		
	- Use the new style kernel tags with the full kernel version - Update packages with new alpine base and new/simplified Makefiles. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			468 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			468 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| import 'common.rb'
 | |
| 
 | |
| from "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
 | |
| 
 | |
| script = [
 | |
|   mount_bind_hostns_self("/etc/cni"), mount_make_hostns_rshared("/etc/cni"),
 | |
|   mount_bind_hostns_self("/opt/cni"), mount_make_hostns_rshared("/opt/cni"),
 | |
|   mount_persistent_disk("/var/lib"),
 | |
|   mkdir_p("/var/lib/kubeadm"),
 | |
| ]
 | |
| 
 | |
| create_shell_wrapper script.join(' && '), '/usr/bin/kube-mounts.sh'
 | |
| set_exec cmd: [ '/usr/bin/kube-mounts.sh' ]
 | |
| 
 | |
| tag "#{@image_name}:latest-mounts"
 |