packaging: build a self-contained distribution bundle by default
- make_dist_bundle.sh: assemble dist/coderai-docker-dist.tar containing the image
tarball (docker save | pigz), the coderai-docker runner (run_oci.sh, image tag
pinned), install.sh and README. Stages under dist/ (not tiny /tmp) and hardlinks
the multi-GB image tarball instead of copying it.
- dist-bundle/install.sh: docker-load the image (sudo-fallback for daemon access)
then install the coderai-docker runner to /usr/local/bin (root) or
~/.local/usr/bin (user, added to ~/.bashrc PATH if missing).
- build_oci_image.sh: after a successful build, export + bundle for distribution
by default (--no-dist to skip).
- run_oci.sh: default image tag -> coderai:dist (matches what's shipped/loaded).
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment