jason
543f2f360c
🐛 Fix resolv.conf: add search . and ndots:0 to block domain search 🐛
...
--domainname on the container sets the kernel domainname, which c-ares
uses to infer a search domain even when /etc/resolv.conf has no search
line. This caused c-ares to query github.com.casjay.work AAAA and get
the host's own IPv6 address, routing all outbound HTTPS to the local
nginx instead of the real server.
Adding 'search .' and 'options ndots:0' explicitly disables search
domain inference regardless of the kernel domainname setting.
- rootfs/usr/local/etc/resolv.conf: add search . and options ndots:0
rootfs/usr/local/etc/resolv.conf
2026-06-05 14:36:17 -04:00
jason
f85a7d43f2
🐛 Fix container DNS: ship resolv.conf without search domain 🐛
...
Hosts with a search domain cause containers to inherit it. When the
zone has a wildcard AAAA record, public hostnames resolve to the host's
own IPv6 address instead of the real server, breaking all outbound
HTTPS and DNS from inside the container.
The entrypoint already has a hook: if /usr/local/etc/resolv.conf
exists it replaces /etc/resolv.conf at container startup. Ship a
clean resolv.conf with Cloudflare + Google DNS and no search domain
so container DNS is always correct regardless of host configuration.
- rootfs/usr/local/etc/resolv.conf: new file — clean DNS, no search domain
rootfs/usr/local/etc/resolv.conf
2026-06-05 12:37:10 -04:00
jason
4ccec77c2c
🔧 Add Gitea Actions workflow files 🔧
...
Generate .gitea/workflows/build*.yml from updated actions.template:
latest build uses yymm + latest tags (latest pushed last); versioned
builds hardcode the version tag.
?? .gitea/
.gitea/
2026-06-04 16:26:32 -04:00
jason
6fa8bed8c0
🔧 Deleted workflow files 🔧
...
.gitea/workflows/docker.10.yaml
.gitea/workflows/docker.11.yaml
.gitea/workflows/docker.12.yaml
.gitea/workflows/docker.13.yaml
.gitea/workflows/docker.yaml
.github/workflows/docker.10.yaml
.github/workflows/docker.11.yaml
.github/workflows/docker.12.yaml
.github/workflows/docker.13.yaml
.github/workflows/docker.yaml
2026-06-04 16:21:56 -04:00
jason
34bf090fed
🔧 Update docker functions/entrypoint.sh to latest 🔧
...
Synced from casjay-dotfiles templates. Updated functions now check
for existence before copying template-files directories, skipping
gracefully when they are absent.
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: updated to latest
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-04 11:52:10 -04:00
jason
7f689ad6ad
🗑️ Remove unused template-files from rootfs 🗑️
...
The init framework now checks for existence before copying; empty
placeholder directories are no longer needed in the image layer.
- rootfs/usr/local/share/template-files/: removed entirely
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh
rootfs/usr/local/share/template-files/config/env/examples/addresses.sh
rootfs/usr/local/share/template-files/config/env/examples/certbot.sh
rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh
rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh
rootfs/usr/local/share/template-files/config/env/examples/global.sh
rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
rootfs/usr/local/share/template-files/config/env/examples/networking.sh
rootfs/usr/local/share/template-files/config/env/examples/other.sh
rootfs/usr/local/share/template-files/config/env/examples/php.sh
rootfs/usr/local/share/template-files/config/env/examples/postgres.sh
rootfs/usr/local/share/template-files/config/env/examples/redis.sh
rootfs/usr/local/share/template-files/config/env/examples/services.sh
rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
rootfs/usr/local/share/template-files/config/env/examples/supabase.sh
rootfs/usr/local/share/template-files/config/env/examples/webservers.sh
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 11:21:10 -04:00
jason
41352bd296
🔧 Update scripts, remove certbot, add CA cert update 🔧
...
Update all container scripts to 202605241245-git, remove certbot from
all package lists, and add CA certificate update step after install.
- .env.scripts*: remove certbot from ENV_PACKAGES (all 5 version files)
- Dockerfile*: remove certbot from PACK_LIST (all 5 version Dockerfiles)
- rootfs/root/docker/setup/00-init.sh: updated to latest template
- rootfs/root/docker/setup/01-system.sh: updated to latest template
- rootfs/root/docker/setup/02-packages.sh: add update-ca-certificates/update-ca-trust step
- rootfs/root/docker/setup/03-files.sh: updated to latest template
- rootfs/root/docker/setup/04-users.sh: updated to latest template
- rootfs/root/docker/setup/05-custom.sh: updated to latest template
- rootfs/root/docker/setup/06-post.sh: updated to latest template
- rootfs/root/docker/setup/07-cleanup.sh: updated to latest template
- rootfs/usr/local/bin/entrypoint.sh: updated to 202605241245-git
- rootfs/usr/local/bin/pkmgr: updated to 202605241245-git
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: updated to 202605241245-git
Dockerfile
Dockerfile.10
Dockerfile.11
Dockerfile.12
Dockerfile.13
.env.scripts
.env.scripts.10
.env.scripts.11
.env.scripts.12
.env.scripts.13
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 21:41:45 -04:00
jason
26fe828867
🗃️ 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/copy
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/healthcheck
rootfs/usr/local/bin/symlink
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:13:52 -04:00
jason
e844e447d1
♻ Rename dockerfs to rootfs and update Dockerfiles ♻
...
- Renamed dockerfs/ directory tree to rootfs/ across all paths
- Updated Dockerfile and Dockerfile.10-13 to reference new rootfs path
- Added new copy and symlink helper scripts under rootfs/usr/local/bin
- Added template-files data and defaults .gitkeep placeholders
- Updated README.md to reflect the new directory structure
Dockerfile
Dockerfile.10
Dockerfile.11
Dockerfile.12
Dockerfile.13
dockerfs/root/docker/setup/00-init.sh
dockerfs/root/docker/setup/01-system.sh
dockerfs/root/docker/setup/02-packages.sh
dockerfs/root/docker/setup/03-files.sh
dockerfs/root/docker/setup/04-users.sh
dockerfs/root/docker/setup/05-custom.sh
dockerfs/root/docker/setup/06-post.sh
dockerfs/root/docker/setup/07-cleanup.sh
dockerfs/usr/local/bin/entrypoint.sh
dockerfs/usr/local/bin/pkmgr
dockerfs/usr/local/etc/docker/functions/entrypoint.sh
dockerfs/usr/local/share/template-files/config/env/default.sample
dockerfs/usr/local/share/template-files/config/env/examples/00-directory.sh
dockerfs/usr/local/share/template-files/config/env/examples/addresses.sh
dockerfs/usr/local/share/template-files/config/env/examples/certbot.sh
dockerfs/usr/local/share/template-files/config/env/examples/couchdb.sh
dockerfs/usr/local/share/template-files/config/env/examples/dockerd.sh
dockerfs/usr/local/share/template-files/config/env/examples/global.sh
dockerfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
dockerfs/usr/local/share/template-files/config/env/examples/mariadb.sh
dockerfs/usr/local/share/template-files/config/env/examples/mongodb.sh
dockerfs/usr/local/share/template-files/config/env/examples/networking.sh
dockerfs/usr/local/share/template-files/config/env/examples/other.sh
dockerfs/usr/local/share/template-files/config/env/examples/php.sh
dockerfs/usr/local/share/template-files/config/env/examples/postgres.sh
dockerfs/usr/local/share/template-files/config/env/examples/redis.sh
dockerfs/usr/local/share/template-files/config/env/examples/services.sh
dockerfs/usr/local/share/template-files/config/env/examples/ssl.sh
dockerfs/usr/local/share/template-files/config/env/examples/supabase.sh
dockerfs/usr/local/share/template-files/config/env/examples/webservers.sh
dockerfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
dockerfs/usr/local/share/template-files/config/.gitkeep
dockerfs/usr/local/share/template-files/data/.gitkeep
dockerfs/usr/local/share/template-files/defaults/.gitkeep
README.md
rootfs/usr/local/bin/copy
rootfs/usr/local/bin/symlink
2026-05-05 14:31:59 -04:00
jason
b986abbf62
🔧 Update Dockerfile.11 configuration 🔧
...
- Modified Dockerfile.11 with configuration updates
- Aligned with recent changes to apt sources and ca-certificates
- Maintains consistency with standardized registry variable names
Dockerfile.11
2026-05-05 10:09:56 -04:00
jason
1a8c7c2d8a
🔧 Refactor env scripts to use standardized registry variable names 🔧
...
- Rename ENV_IMAGE_NAME to ENV_REGISTRY_REPO and ENV_ORG_NAME to ENV_REGISTRY_ORG for consistent naming
- Rename ENV_IMAGE_PUSH to ENV_REGISTRY_PUSH and update ENV_REGISTRY_URL to full https URL format
- Change ENV_PULL_URL from upstream debian to casjaysdev/debian for all version variants
- Clear ENV_PACKAGES and ENV_ADD_TAGS to empty defaults across all env files
- Add entrypoint settings, LANG_VERSION, shellcheck directives, and expanded header metadata to versioned env files
.env.scripts
.env.scripts.10
.env.scripts.11
.env.scripts.12
.env.scripts.13
2026-05-04 21:31:30 -04:00
jason
3bac801366
🔧 Fix apt sources and add ca-certificates across Debian versions 🔧
...
- Add ca-certificates to PACK_LIST in all four Dockerfiles (10-13)
- Explicitly write apt sources.list for each Debian release (buster, bullseye, bookworm, trixie) with contrib and non-free components
- Remove conflicting sources.list.d/*.sources files before writing new sources
- Add Acquire::Check-Valid-Until false for buster archive to bypass expired release date check
Dockerfile.10
Dockerfile.11
Dockerfile.12
Dockerfile.13
2026-05-04 12:51:42 -04:00
jason
c93e899fac
🔧 Update configuration files 🔧
...
.gitea/workflows/docker.10.yaml
.gitea/workflows/docker.11.yaml
.gitea/workflows/docker.12.yaml
.gitea/workflows/docker.13.yaml
.gitea/workflows/docker.yaml
.github/workflows/docker.10.yaml
.github/workflows/docker.11.yaml
.github/workflows/docker.12.yaml
.github/workflows/docker.13.yaml
.github/workflows/docker.yaml
2026-01-29 14:21:48 -05:00
jason
3f86fd3dc4
🔧 Updated workflows 🔧
...
.gitea/workflows/docker.10.yaml
.gitea/workflows/docker.11.yaml
.gitea/workflows/docker.12.yaml
.gitea/workflows/docker.13.yaml
.gitea/workflows/docker.yaml
.github/workflows/docker.10.yaml
.github/workflows/docker.11.yaml
.github/workflows/docker.12.yaml
.github/workflows/docker.13.yaml
.github/workflows/docker.yaml
2026-01-16 00:16:00 -05:00
jason
e3578a3f6f
🗃️ Updated workflows and moved rootfs 🗃️
...
Dockerfile
Dockerfile.10
Dockerfile.11
Dockerfile.12
Dockerfile.13
dockerfs/
.gitea/workflows/docker.10.yaml
.gitea/workflows/docker.11.yaml
.gitea/workflows/docker.12.yaml
.gitea/workflows/docker.13.yaml
.gitea/workflows/docker.yaml
.github/
README.md
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
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/default.sample
rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh
rootfs/usr/local/share/template-files/config/env/examples/addresses.sh
rootfs/usr/local/share/template-files/config/env/examples/certbot.sh
rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh
rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh
rootfs/usr/local/share/template-files/config/env/examples/global.sh
rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
rootfs/usr/local/share/template-files/config/env/examples/networking.sh
rootfs/usr/local/share/template-files/config/env/examples/other.sh
rootfs/usr/local/share/template-files/config/env/examples/php.sh
rootfs/usr/local/share/template-files/config/env/examples/postgres.sh
rootfs/usr/local/share/template-files/config/env/examples/redis.sh
rootfs/usr/local/share/template-files/config/env/examples/services.sh
rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
rootfs/usr/local/share/template-files/config/env/examples/supabase.sh
rootfs/usr/local/share/template-files/config/env/examples/webservers.sh
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-01-15 23:48:07 -05:00
jason
14008fa661
🗃️ Update codebase 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 18:27:33 -05:00
jason
442e235e52
🗃️ Update codebase 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:17:59 -05:00
jason
2004373ff8
🗃️ Fixed rootfs/** files 🗃️
...
Dockerfile
.env.scripts
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
rootfs/usr/local/bin/copy
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/symlink
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:55:36 -05:00
jason
84e87bfc7e
🦈 🏠 🐜 ❗ Initial Commit ❗ 🐜 🦈 🏠
2025-11-29 11:11:40 -05:00