mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 18:37:35 +00:00
39 lines
918 B
YAML
39 lines
918 B
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- "@pkg:./pkg/init"
|
|
- "@pkg:./pkg/runc"
|
|
- "@pkg:./pkg/containerd"
|
|
- "@pkg:./pkg/ca-certificates"
|
|
onboot:
|
|
- name: sysctl
|
|
image: "@pkg:./pkg/sysctl"
|
|
- name: dhcpcd
|
|
image: "@pkg:./pkg/dhcpcd"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
onshutdown:
|
|
- name: shutdown
|
|
image: busybox:latest
|
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
|
services:
|
|
- name: getty
|
|
image: "@pkg:./pkg/getty"
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: "@pkg:./pkg/rngd"
|
|
- name: nginx
|
|
image: nginx:1.19.5-alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
binds:
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
files:
|
|
- path: etc/linuxkit-config
|
|
metadata: yaml
|