From 0d37595df7c06211f6b94df89231936feae494e2 Mon Sep 17 00:00:00 2001 From: casjay Date: Fri, 26 Jun 2026 12:59:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Replace=20hardcoded=20source=20p?= =?UTF-8?q?aths=20with=20installed=20locations=20=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AI.md: remove `bin/gen-dockerfile in casjay-dotfiles` source hint from tool description — the installed binary is what matters - AI.md: replace `$CASJAYSDEVDIR/templates/dockerfiles/` in template resolution table with the installed path `/usr/local/share/CasjaysDev/scripts/templates/dockerfiles/`; retain `$CASJAYSDEVDIR` as the dev-checkout alternative - AI.md: update Resources section — gen-dockerfile entry no longer names the dev source path; template source entry shows the installed path with the dev-override variable - AI.md: tool description no longer assumes casjay-dotfiles dev checkout - AI.md: template resolution and Resources use /usr/local/share/CasjaysDev/scripts AI.md --- AI.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AI.md b/AI.md index 7706caa..badb6e1 100644 --- a/AI.md +++ b/AI.md @@ -127,7 +127,7 @@ project-name/ ## gen-dockerfile Tool -All containers are built using the **gen-dockerfile** tool (`bin/gen-dockerfile` in casjay-dotfiles). It generates standardised Dockerfiles, `.env.scripts`, workflow YAML, `pkmgr` scripts, and `rootfs/` scaffolding. +All containers are built using the **gen-dockerfile** tool. It generates standardised Dockerfiles, `.env.scripts`, workflow YAML, `pkmgr` scripts, and `rootfs/` scaffolding. ### Usage @@ -201,7 +201,7 @@ Creates `.gitea/workflows/build.yml` (or `build.$version.yml` for versioned tags Templates are loaded from the first match: 1. `$GEN_DOCKERFILE_CONFIG_DIR/templates/.template` (user override) -2. `$CASJAYSDEVDIR/templates/dockerfiles/.template` (installed scripts tree) +2. `/usr/local/share/CasjaysDev/scripts/templates/dockerfiles/.template` (installed; also `$CASJAYSDEVDIR/templates/dockerfiles/` when running from a dev checkout) `template_options.source` is sourced after `__set_variables` runs, allowing template-specific variable overrides. @@ -822,6 +822,6 @@ gen-dockerfile --dir ./myapp actions - **Docker Hub:** - **Git Repository:** -- **gen-dockerfile Tool:** `/usr/local/bin/gen-dockerfile` (source: `casjay-dotfiles/scripts/bin/gen-dockerfile`) -- **Template Source:** `casjay-dotfiles/scripts/templates/dockerfiles/` +- **gen-dockerfile Tool:** `/usr/local/bin/gen-dockerfile` +- **Template Source:** `/usr/local/share/CasjaysDev/scripts/templates/dockerfiles/` (installed) or `$CASJAYSDEVDIR/templates/dockerfiles/` (dev override) - **Example Project:** `casjaysdevdocker/.github/example/` (org-level repository — not present in individual container repos)