2019-02-11 05:05:43 +00:00
|
|
|
# ------------------------------------------------------------------------
|
2022-02-04 18:59:42 +00:00
|
|
|
from alpine:3.15
|
2019-02-11 05:05:43 +00:00
|
|
|
|
2022-03-08 10:45:56 +00:00
|
|
|
add alpine-minirootfs-3.15.0-x86_64.tar.gz /layer/
|
2019-02-11 05:05:43 +00:00
|
|
|
|
|
|
|
workdir /layer
|
|
|
|
|
2022-03-08 10:45:56 +00:00
|
|
|
run apk update
|
|
|
|
run apk add -p . musl lvm2 lvm2-dmeventd udev cryptsetup e2fsprogs btrfs-progs
|
2022-02-04 18:59:42 +00:00
|
|
|
run rm -rf usr/share/apk var/cache/apk
|
|
|
|
|
2019-02-11 05:05:43 +00:00
|
|
|
entrypoint ["sh","-c","find |cpio -H newc -o |base64"]
|