casjay
9c42580d49
🐛 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:34:31 -04:00
casjay
976175d8ea
🐛 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:35:25 -04:00
casjay
639694b25a
♻️ Migrate proftpd to /config/ source-of-truth architecture ♻️
...
Migrate proftpd Docker image to the new build-time config architecture.
- rootfs/root/docker/setup/03-files.sh: rewrite to canonical form with /tmp/bin, /tmp/var, /tmp/etc, /tmp/usr handlers
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to latest template
- rootfs/usr/local/etc/docker/init.d/*.sh: fix $(basename) UUOC; move inline comments above code lines
- rootfs/tmp/etc/: add service config files (proftpd ) deployed to /etc/ at build time
- rootfs/usr/local/share/template-files/: delete; config now deployed via /tmp/etc/ and /tmp/usr/ at build time
rootfs/root/docker/setup/03-files.sh
rootfs/tmp/
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/99-proftpd.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/config/proftpd/proftpd.conf
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 14:39:34 -04:00
casjay
62488935e9
🗃️ Updated the functions file 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:27:32 -04:00
casjay
eb2921e505
🗃️ 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:12:50 -04:00
casjay
1c06b2584b
🗃️ Update codebase 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:26:01 -05:00
casjay
341f4448d1
... 🐳 Enhancement: Modifications in entrypoint.sh script for Docker funct...
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:06:19 -05:00
casjay
d14d865f27
🗃️ Fixed the entrypoint scripts 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/default.sample
2025-11-29 12:37:15 -05:00
casjay
6f21267540
🗃️ Updated Dockerfile* and .env.scripts* 🗃️
...
Dockerfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:04:51 -05:00
casjay
16b8cd108b
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2025-09-20 06:39:50 -04:00
casjay
1102a48280
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:28:02 -04:00
casjay
90f0f822f8
🗃️ Committing everything that changed 🗃️
...
Dockerfile
.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/default.sample
2025-09-16 19:38:23 -04:00
casjay
af30fb0b8d
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:10:47 -04:00
casjay
5705cf2e83
🗃️ Committing everything that changed 🗃️
...
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/
2025-09-05 13:36:39 -04:00
casjay
e4fd26dcc8
🗃️ Committing everything that changed 🗃️
...
Dockerfile
.env.scripts
rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
rootfs/usr/local/share/template-files/config/env/default.sample
2025-02-03 15:20:09 -05:00
casjay
3edf936945
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:17:03 -05:00
casjay
d766914c8a
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-24 11:04:01 -04:00
casjay
a9897b783a
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 16:39:39 -04:00
casjay
dd2848bda4
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:38:42 -04:00
casjay
9c5aee5c79
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:07:02 -04:00
casjay
26c6c88ea2
🗃️ Committing everything that changed 🗃️
...
Dockerfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 14:57:09 -04:00
casjay
ce55a0c1bc
🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
...
Dockerfile
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-31 12:31:28 -04:00
casjay
8786ef46af
🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-29 18:26:39 -04:00
casjay
c8edbe2d9f
🗃️ 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:59:06 -04:00
casjay
a9938aa0cf
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 20:08:52 -04:00
casjay
fc7533dac5
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 18:49:04 -04:00
casjay
39c549f3dc
🗃 Modified: rootfs/usr/local/etc/docker/init.d/99-proftpd.sh 🗃
...
Modified: rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2024-07-14 10:47:15 -04:00
casjay
5aa68a81a2
🗃 Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃
...
Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 10:47:15 -04:00
casjay
5c21b5d782
🗃️ Committing everything that changed 🗃️
...
bin/entrypoint-proftpd.sh
config/proftpd.conf
Dockerfile
.dockerignore
.env.scripts
.gitattributes
.gitignore
.gitkeep
LICENSE.md
README.md
rootfs/.gitkeep
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/.gitkeep
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/bin/start-proftpd.sh
rootfs/usr/local/etc/
rootfs/usr/local/share/template-files/config/env/
rootfs/usr/local/share/template-files/config/proftpd/
2024-06-26 10:35:57 -04:00