From f8132f2ffd1dc25ec80512fc125842e004476787 Mon Sep 17 00:00:00 2001 From: Morgan Date: Wed, 13 Mar 2024 03:28:24 +0900 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 1265336..14657a7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # binarify + Container Image to Self-Extracting Binary + +Influenced by [NilsIrl/dockerc](https://github.com/NilsIrl/dockerc), but with bash and without FUSE. + +Rather than using FUSE which requires installing FUSE package, it just extracts image like Container runtimes. + +It will take more time to launch for image to be extracted. + +It is not recommended for real-life use. + +It uses `jq`, `crun`, `umoci` at runtime. + +### Usage + +`binarify --image docker://oven/bun --output bun.binary` + +`./bun.binary --mount myapp:/data:ro --env API=123456789 -- run /data/app.bash` + + +#### To build `binarify`: + +`binarify` is itself self-extracting execuatble. + +`./makebin.sh binarify.sh utils/crun utils/umoci utils/jq > binarify`