Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 58 additions & 2 deletions _data/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@
{
"comment": "env",
"op": {
"File": "/data/env.sh",
"File": "env.sh",
"Dest": "/etc/profile.d/path.sh"
},
"type": "upload"
},
{
"comment": "copy-in bootstrap dir",
"op": {
"LocalPath": "/data/bootstrap",
"LocalPath": "bootstrap",
"RemoteDir": "/"
},
"type": "copy-in"
Expand Down Expand Up @@ -164,5 +164,61 @@
"type": "run-command"
}
]
},
{
"name": "kind_4.19.qcow2",
"parent": "kind.qcow2",
"actions": [
{
"comment": "install 4.19",
"op": {
"KernelInstallDir": "kernels/4.19/tar-install"
},
"type": "install-kernel"
},
{ "op": { "Hostname": "kind-4.19"}, "type": "set-hostname" }
]
},
{
"name": "kind_5.4.qcow2",
"parent": "kind.qcow2",
"actions": [
{
"comment": "install 5.4",
"op": {
"KernelInstallDir": "kernels/5.4/tar-install"
},
"type": "install-kernel"
},
{ "op": { "Hostname": "kind-5.4"}, "type": "set-hostname" }
]
},
{
"name": "kind_5.10.qcow2",
"parent": "kind.qcow2",
"actions": [
{
"comment": "install 5.10",
"op": {
"KernelInstallDir": "kernels/5.10/tar-install"
},
"type": "install-kernel"
},
{ "op": { "Hostname": "kind-5.10"}, "type": "set-hostname" }
]
},
{
"name": "kind_bpf-next.qcow2",
"parent": "kind.qcow2",
"actions": [
{
"comment": "install bpf-next",
"op": {
"KernelInstallDir": "kernels/bpf-next/tar-install"
},
"type": "install-kernel"
},
{ "op": { "Hostname": "kind-bpf-next"}, "type": "set-hostname" }
]
}
]
5 changes: 4 additions & 1 deletion dockerfiles/root-images
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
FROM quay.io/lvh-images/root-builder AS builder
COPY _data /data
# mmdebstrap outputs messages in stderr, so we redirect stderr
RUN lvh images build --dir /data 2>&1

RUN lvh images build --image base --dir /data 2>&1
RUN lvh images build --image kind --dir /data 2>&1

RUN zstd --compress --rm --threads=0 /data/images/*.qcow2

# Can't use scratch here because we use `docker create` elsewhere, and
Expand Down