fix: cross-host compat — idempotent groupadd, quoted env value, ignore tarballs
Drie kleine fixes zodat de container ook op niet-NAS hosts (Mac M2,
Windows i7) zonder gedoe gebouwd kan worden.
- Dockerfile: vervang `groupadd -g ${AGENT_GID}` door een idempotent
blok dat een bestaande UID/GID hernoemt. Op macOS conflicteert GID 20
(staff) met dialout in Ubuntu base — `groupadd: GID '20' already exists`.
- .env.example: quote `GIT_AUTHOR_NAME` waarde. QNAP Container Station's
env-parser is strict en weigert `KEY=value with space` zonder quotes.
- .gitignore: voeg `*.tar`/`*.tar.gz` toe — de output van `docker save`
die voor NAS-import naar de share wordt gekopieerd hoort niet in git.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c5bf226b3d
commit
544399b82b
3 changed files with 19 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -20,3 +20,7 @@ Thumbs.db
|
|||
|
||||
# Node (mocht je lokaal iets uitproberen)
|
||||
node_modules/
|
||||
|
||||
# Build artefacts (local docker save tarballs)
|
||||
*.tar
|
||||
*.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue