initrd/Dockerfile
2019-12-03 10:56:57 +01:00

20 lines
456 B
Docker

# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.13.4 as build
# ------------------------------------------------------------------------
from alpine:3.10.3
env busybox_v=1.28.1-defconfig-multiarch \
arch=x86_64
run apk add --update curl
workdir /layer
add build-layer /
run /build-layer
copy --from=build /go/bin/initrd /layer/init
entrypoint ["sh","-c","find |cpio -H newc -o |base64"]