mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-10-25 22:41:10 +02:00 
			
		
		
		
	I reverted some reference docs changes in 0.7 which are related to changes which went only into 0.8. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			525 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			525 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: "Customizing the Kernel"
 | |
| description: ""
 | |
| ---
 | |
| 
 | |
| ```docker
 | |
| FROM scratch AS customization
 | |
| COPY --from=<custom kernel image> /lib/modules /lib/modules
 | |
| 
 | |
| FROM docker.io/andrewrynhard/installer:latest
 | |
| COPY --from=<custom kernel image> /boot/vmlinuz /usr/install/vmlinuz
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| docker build --build-arg RM="/lib/modules" -t talos-installer .
 | |
| ```
 | |
| 
 | |
| > Note: You can use the `--squash` flag to create smaller images.
 | |
| 
 | |
| Now that we have a custom installer we can build Talos for the specific platform we wish to deploy to.
 |