mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 04:49:18 +00:00
28 lines
706 B
YAML
28 lines
706 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.30
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:a0246dd478a24abbee0a4cede99662ffc4931691
|
|
- linuxkit/runc:69b4a35eaa22eba4990ee52cccc8f48f6c08ed03
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.7
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: test
|
|
image: alpine:3.11
|
|
net: host
|
|
binds:
|
|
- /check.sh:/check.sh
|
|
command: ["sh", "./check.sh"]
|
|
- name: poweroff
|
|
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- alpine:3.11
|