Commit Graph
7 Commits
Author SHA1 Message Date
casjay 8ff2e31c6f 🗃️ Update codebase 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-07-27 13:33:23 -04:00
casjay 6291f5ad9c 📝 Migrate /var/lib/srv docker paths to /srv in docs 📝
Update volume mount examples from /var/lib/srv/$USER/docker
to /srv/$USER/docker.
- README.md rootfs/usr/local/bin/copy rootfs/usr/local/bin/healthcheck rootfs/usr/local/bin/symlink : update path references to /srv/$USER/docker

README.md
rootfs/usr/local/bin/copy
rootfs/usr/local/bin/healthcheck
rootfs/usr/local/bin/symlink
2026-07-10 13:16:54 -04:00
casjay 2d90e2478e 🐛 Fix __exec_command dropping all arguments after the first 🐛
__exec_command was using ${arg:-} which only captured the first element
of the args array, then ran it through "$shell" $pre_exec "$cmdExec"
which effectively discarded everything after $1.
Running `docker run image sh -c 'go build ...'` would:
1. Set arg=("sh" "-c" "go build ...")
2. Set cmdExec="sh" (only first element)
3. Run bash --login -c "sh" (dropping -c and the actual command)
This broke any Makefile GO_DOCKER pattern that relied on passing multi-arg
commands. Simplified to just `exec "$@"` which passes all args through.
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: rewrite __exec_command

rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-29 00:47:05 -04:00
casjay d4aba79607 🐛 Fix entrypoint crash on __setup_mta ssmtp failure 🐛
__setup_mta calls __find_replace on /etc/ssmtp/revaliases which returns
1 when the symlink it creates is broken. With set -o pipefail active the
non-zero return kills the entire entrypoint before any command can run.
ssmtp is not installed in this image and email delivery is not a feature
of this image, so the MTA setup failure is irrelevant. Guard the call
with || true so initialization continues regardless.
- rootfs/usr/local/bin/entrypoint.sh: __setup_mta || true (non-fatal)

rootfs/usr/local/bin/entrypoint.sh
2026-06-27 19:19:04 -04:00
casjay df09637816 Added: rootfs/usr/local/etc/resolv.conf
Added: rootfs/usr/local/etc/resolv.conf
2026-06-26 15:46:54 -04:00
casjay 81f6ad4200 Added: rootfs/usr/local/etc/docker/functions/entrypoint.sh
Added: rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-26 15:46:53 -04:00
casjay 780d4d8ecc 🦈🏠🐜 Initial Commit 🐜🦈🏠 2026-06-26 15:30:48 -04:00