mirror of
https://github.com/lingble/talos.git
synced 2025-12-10 17:45:30 +00:00
- add 0.5 docs branched from 0.4 - add intro page and "get help" pages - moved Docker and Firecracker into a "Local Clusters" category - switch to markdown-it from markd for consistency between corp site and docs site - use markdown-it-anchor to create linkable anchors to sections within a page - improve urls to use / instead of # for docs pages (WARNING: this breaks old links) - continue to simplify handling in the Content.vue component - update JS deps Signed-off-by: Timothy Gerla <tim@gerla.net>
22 lines
520 B
Markdown
22 lines
520 B
Markdown
---
|
|
title: 'Kernel'
|
|
---
|
|
|
|
## Customizing the Kernel
|
|
|
|
```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.
|