Commit 2f8d840
committed
fix: use runtime user: directive instead of build-arg UID/GID
Build args require rebuilding the image to change UID/GID and don't
work with pre-built images from GHCR. Switch to compose user: directive
which overrides at runtime via PUID/PGID environment variables. This
works with both local builds and pulled images.
https://claude.ai/code/session_0153nX7vQSjEFPpZTgZdDmu51 parent 0368126 commit 2f8d840
2 files changed
Lines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 49 | + | |
55 | 50 | | |
56 | 51 | | |
57 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
0 commit comments