mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 02:34:09 +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:45a1ad5919f0b6acf0f0cf730e9434abfae11fe6
|
|
- linuxkit/runc:92b1fea787c01cef46f07f783c80631a7071cfbb
|
|
onboot:
|
|
- name: mount
|
|
image: linuxkit/mount:19ff89c251a4156bda8ed11c95faad2f40eb770e
|
|
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:401dc53c604c0b2179ed0369a6968fd4179cc176
|
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
mode: "0700"
|