mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 17:39:31 +00:00
25 lines
718 B
YAML
25 lines
718 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.30
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
|
onboot:
|
|
- name: mount
|
|
image: linuxkit/mount:a9a5f731261891bd880e108e6fa2be5bac2f63ba
|
|
binds.add:
|
|
- /check.sh:/check.sh
|
|
- /var/tmp:/var/tmp
|
|
# default binds from linuxkit/mount
|
|
# - /dev:/dev
|
|
# - /var:/var:rshared,rbind
|
|
# - /:/hostroot
|
|
command: ["sh", "-c", "/check.sh"]
|
|
- name: poweroff
|
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
mode: "0700"
|