talos/website/content/v0.8/guides/customizing-the-kernel.md
Spencer Smith e3fda049fe
docs: overhaul all the docs
This moves our docs to a hugo-based doc setup with docsy theme.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-03-22 13:05:21 -04:00

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.