Commit e10478f
committed
build: run container securely as a non-root user
- Add a non-root user for running the container
- Set the container to run as the new user instead of root
Signed-off-by: appleboy <[email protected]>1 parent 8c3eace commit e10478f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
0 commit comments