Update README.md

This commit is contained in:
Morgan 2024-03-13 03:28:24 +09:00 committed by GitHub
parent 6269acb02a
commit f8132f2ffd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

View File

@ -1,2 +1,26 @@
# binarify # binarify
Container Image to Self-Extracting Binary 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`