Files
linuxkit/test/cases/000_build/020_binds/test.yml
Avi Deitcher 3a6398e351 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 20:53:32 +02:00

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"