chore: anchor artifact ignore rules to repo root; block them from Docker image layers

Follow-up to the cherry-picked cleanup: the default.tar.gz profile export
was also carried into published container images by the Dockerfile's
'COPY . .' layer because .dockerignore had no matching pattern. Anchor
the .gitignore rules to repo root (per review feedback on #91712) and
add the same set + /*.tar.gz to .dockerignore so root archives can never
reach an image layer again.
This commit is contained in:
Teknium
2026-08-22 10:23:54 -07:00
parent 0af2858a3a
commit db7dda468f
2 changed files with 11 additions and 4 deletions

View File

@@ -106,3 +106,10 @@ plans/
.gitattributes
.hadolint.yaml
.mailmap
# Repo-root debug/export artifacts — must never reach image layers (COPY . .)
/log.txt
/sqlite_leak_fix.png
/*.png.bak
/default.tar.gz
/*.tar.gz

8
.gitignore vendored
View File

@@ -99,10 +99,10 @@ apps/desktop/src/**/*.d.ts
!apps/desktop/src/vite-env.d.ts
# Repo-root build/debug artifacts that must never be committed
log.txt
sqlite_leak_fix.png
*.png.bak
default.tar.gz
/log.txt
/sqlite_leak_fix.png
/*.png.bak
/default.tar.gz
apps/shared/src/**/*.js
apps/shared/src/**/*.js.map
apps/shared/src/**/*.d.ts