mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-07 05:49:05 +00:00
29 lines
740 B
YAML
29 lines
740 B
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.88
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:629fdad56e62ae72bf8becf0c8a668241480d3ff
|
|
- linuxkit/runc:606971451ea29b4238029804ca638f9f85caf5af
|
|
onboot:
|
|
- name: losetup
|
|
image: linuxkit/losetup:4ceebb2672031d87a8fa60ac5e93e54c2ff1f0f2
|
|
command: ["/usr/bin/loopy", "-c", "/var/test.img"]
|
|
- name: test
|
|
image: alpine:3.9
|
|
net: host
|
|
binds:
|
|
- /check.sh:/check.sh
|
|
- /dev:/dev
|
|
command: ["sh", "./check.sh"]
|
|
- name: poweroff
|
|
image: linuxkit/poweroff:9f4e04f09bbb4a028f0a1f57d430e1ad3095ace1
|
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- alpine:3.9
|