mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 17:06:35 +00:00
28 lines
738 B
YAML
28 lines
738 B
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.54
|
|
cmdline: "console=ttyS0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:98e95fb67e8afcf02c09ba927e4b357fec42977a
|
|
- linuxkit/runc:991ef358ad8fc1111d64f4d8071f2009cc561f6a
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: test
|
|
image: alpine:3.6
|
|
net: host
|
|
binds:
|
|
- /check.sh:/check.sh
|
|
command: ["sh", "./check.sh"]
|
|
- name: poweroff
|
|
image: linuxkit/poweroff:ffd3f539a6f4e67d4cd4ff36503636de35edd7b2
|
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- alpine:3.6
|