Commit 463654e
committed
fix(docker): set WORKDIR to root in loki Dockerfiles
The distroless static image has workdir set to /home/nonroot, owned by the user
nonroot with uid of 65532 and permission of 700. Since the user is changed to
loki with uid 1001, this can cause the startup of container to fail, as there is
no permission to enter the workdir.1 parent d6147d8 commit 463654e
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
0 commit comments