Files
linuxkit/test/cases/000_build/020_binds/test.yml
Rolf Neugebauer 0dd8086d39 Update YAMLs to latest runc/containerd/test-containerd
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-10-16 16:57:15 +01:00

25 lines
718 B
YAML

kernel:
image: linuxkit/kernel:5.4.30
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
- linuxkit/runc:f9c8a136f6aca1cde95b249eb5095df702c23ac8
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"