Add containerized xstow static build

This commit is contained in:
2025-10-06 20:01:17 -04:00
commit 0c704e4872
5 changed files with 73 additions and 0 deletions

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# xstow-builder
Reproducible static build of `xstow` for systems where `stow` or `xstow` isn't
already available. Unlike `stow`, which requires Perl and it's dependencies,
this statically-linked `xstow` binary is self-contained and can be dropped into
`~/.local/bin` without any installation requirements.
## Build
Running the `docker-compose.yml` will spin up a Rocky Linux container, compile
`xstow` with static linking, and output the binary to `./build/xstow` in your
local repository.
Podman:
podman-compose up --build
Docker:
docker compose up --build
Binary output: `./build/xstow`
## License
This project is released under the 0BSD license, which allows for unrestricted
use, modification, and distribution.