Commit Graph
23 Commits
Author SHA1 Message Date
jason 7aff54ef72 🐛 Fix entrypoint hang and lost-interpreter bugs 🐛
deno-1.46 / release-deno-1_46 (push) Failing after 2m12s
deno-2.1 / release-deno-2_1 (push) Failing after 2m16s
deno-1 / release-deno-1 (push) Failing after 2m12s
deno-2 / release-deno-2 (push) Failing after 2m3s
deno / release-deno (push) Failing after 1m55s
deno-2.0 / release-deno-2_0 (push) Failing after 11m37s
- rootfs/usr/local/bin/entrypoint.sh:
  1. The "start all services" gate
     (`if [ "$START_SERVICES" = "yes" ] || [ -z "$1" ]`) always evaluated
     true on a first-run container regardless of $1, because
     START_SERVICES is force-set to "yes" whenever no PID file exists yet.
     Any command passed to `docker run` — `exec ...`, `sh -c ...`,
     `shell`, or an arbitrary program — was swallowed into the
     service-start+monitor branch before reaching the `case "$1"`
     statement that already handles those subcommands, hanging the
     container as a daemon instead of running the given command. Changed
     the condition to `if [ -z "$1" ]` so the daemon branch only fires
     when no command was given at all.
  2. The `*/bin/sh | */bin/bash | bash | sh | shell)` case branch
     unconditionally shifted $1 before `__exec_command "$@"` (a bare
     `exec "$@"`). For `docker run image sh -c 'cmd'` this turned the
     exec into `exec -c cmd` (command not found, exit 127) instead of
     `exec sh -c 'cmd'`. Split the branch: real interpreter names
     (*/bin/sh, */bin/bash, bash, sh) now pass through unshifted; the
     "shell" keyword (not a real interpreter) gets its own branch that
     shifts and prepends "sh" to any remaining args, or falls back to a
     bare `__exec_command` (exec bash -l) when none remain.
  Verified `bash -n` passes. Found and fixed upstream in
  dockersrc/go, confirmed identical in this repo's generated
  entrypoint.sh, and mechanically applied here with the same patch.
2026-07-27 23:18:33 -04:00
jason 66903e9110 📝 Migrate /var/lib/srv docker paths to /srv in README 📝
deno-1.46 / release-deno-1_46 (push) Has been cancelled
deno-2.0 / release-deno-2_0 (push) Has been cancelled
deno-2.1 / release-deno-2_1 (push) Has been cancelled
deno-1 / release-deno-1 (push) Has been cancelled
deno-2 / release-deno-2 (push) Has been cancelled
deno / release-deno (push) Has been cancelled
Update volume mount examples and dockerHome variable from
the old /var/lib/srv/$USER/docker layout to /srv/$USER/docker.
- README.md: update volume 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 12:12:13 -04:00
jason 20775126c6 🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
2026-06-26 23:41:51 -04:00
jason 57f67f15d2 🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
2026-06-26 23:33:21 -04:00
jason d030c1b166 🐛 Fix duplicate 2>/dev/null in entrypoint.sh /etc/hosts line 🐛
deno-1.46 / release-deno-1_46 (push) Failing after 56s
deno-2 / release-deno-2 (push) Failing after 43s
deno / release-deno (push) Failing after 13m43s
deno-1 / release-deno-1 (push) Failing after 13m52s
deno-2.1 / release-deno-2_1 (push) Failing after 14m2s
deno-2.0 / release-deno-2_0 (push) Failing after 14m13s
The grep -vF line that appends /usr/local/etc/hosts entries had a
duplicate 2>/dev/null redirect after the append operator, which is
a no-op but clutters the script. Synced from template.
- rootfs/usr/local/bin/entrypoint.sh: remove duplicate 2>/dev/null
from grep -vF /etc/hosts append line; bump version to 202606261500-git

rootfs/usr/local/bin/entrypoint.sh
2026-06-26 18:42:55 -04:00
jason e9ebee46c4 🗃️ Removed the .claude/settings.local.json 🗃️
Dockerfile
.dockerignore
.env.scripts
.gitattributes
.gitea/workflows/docker.yaml
.gitignore
LICENSE.md
README.md
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
2026-05-12 20:06:17 -04:00
jason 7559966ff2 🗃️ rootfs: shield internal entrypoint PID files from /run/*.pid sweeps 🗃️
Update the embedded entrypoint copies in rootfs/ to match the
upstream template change. Internal state files renamed to dotfiles
so they're not matched by `/run/*.pid` cleanup globs:
- /run/init.d/entrypoint.pid -> /run/.entrypoint.pid
- /run/no_exit.pid -> /run/.no_exit.pid
- /run/backup.pid -> /run/.backup.pid
- /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid
Per-service PIDs in /run/init.d/ are unchanged.

rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
2026-05-05 19:11:34 -04:00
jason 803a26708c 🗃️ Updated Dockerfile* and .env.scripts* 🗃️
Dockerfile
Dockerfile.1.46
Dockerfile.2.0
Dockerfile.2.1
.env.scripts
.env.scripts.1.46
.env.scripts.2.0
.env.scripts.2.1
.gitea/workflows/docker-1_46.yaml
.gitea/workflows/docker.1.yaml
.gitea/workflows/docker-2_0.yaml
.gitea/workflows/docker-2_1.yaml
.gitea/workflows/docker.2.yaml
.gitea/workflows/docker.yaml
rootfs/root/docker/setup/05-custom.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:06:59 -05:00
jason 1f54fb589b 🗃️ Committing everything that changed 🗃️
Dockerfile
.dockerignore
.env.scripts
.gitattributes
.gitignore
rootfs/.gitea/
rootfs/root/
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/
2025-09-16 19:37:11 -04:00
jason 40809be514 🗃️ Committing everything that changed 🗃️
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/
2025-09-05 13:35:29 -04:00
jason 8155b35925 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 14:52:54 -04:00
jason 19bd5099e9 🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
Dockerfile
.gitea/
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-29 17:55:20 -04:00
jason 5db66e5d83 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
2023-09-04 17:02:01 -04:00
jason d1c01c269a 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2023-09-04 01:32:55 -04:00
jason dc963ccd81 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2023-09-03 22:30:43 -04:00
jason c857d37766 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
2023-09-03 22:28:36 -04:00
jason 3bb76424d6 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2023-09-03 20:17:08 -04:00
jason fb8eed1a0f 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/
2023-09-03 18:41:10 -04:00
casjay e62624cab9 🗃️ Updated domain names 🗃️
Dockerfile
LICENSE.md
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/get-deno.sh
rootfs/usr/local/bin/start-deno.sh
2023-08-10 19:54:55 -04:00
casjay e36bd93c14 🗃️ Committing everything that changed 🗃️ 2022-10-21 02:22:52 -04:00
casjay 702b8b2edd 🗃️ Committing everything that changed 🗃️ 2022-10-21 01:47:54 -04:00
casjay c0d72f456f 🗃️ Committing everything that changed 🗃️ 2022-10-21 01:37:15 -04:00
casjay 14dc31949f 🗃️ Committing everything that changed 🗃️ 2022-10-21 00:53:55 -04:00