initrd/Dockerfile
2022-02-04 21:45:18 +01:00

19 lines
379 B
Docker

# ------------------------------------------------------------------------
from alpine:3.15
add alpine/alpine-minirootfs-3.15.0-x86_64.tar.gz /layer/
run apk update
run apk add -p /layer lvm2-static
workdir /layer
run rm -rf usr/share/apk var/cache/apk
#add build-layer /
#run /build-layer
copy dist/init /layer/init
entrypoint ["sh","-c","find |cpio -H newc -o |base64"]