Commit Graph
6 Commits
Author SHA1 Message Date
casjay 58eb2f0e09 🐛 Fix circular base image dependency 🐛
The xorg Dockerfile was trying to use casjaysdev/xorg:latest as its base
image, but that image doesn't exist yet — it's what we're building.
Changed to use official debian:bookworm as the base since the pkmgr script
uses apt/apt-get and the packages (xorg, x11-apps) are Debian packages.
- Dockerfile: PULL_URL casjaysdev/xorg → debian, DISTRO_VERSION latest → bookworm

Dockerfile
2026-07-02 21:09:44 -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