Create a dedicated app user and group in multistage.Dockerfile#32
Create a dedicated app user and group in multistage.Dockerfile#32toshikish wants to merge 1 commit intoastral-sh:mainfrom
Conversation
|
I agree that we should be consistent with the user and group setting, though with this change, i'm getting an error: |
|
@konstin Thank you for reviewing. |
|
A normal docker installation (with root) on Ubuntu 24.04: |
|
I haven't tried container build on the same environment yet, but CI build job on ubuntu-latest succeeded. |
|
The build succeeds, it produces this error at runtime: It tries to read the SSL certificates, but they are owned by root so it can't access them. |
Fixes #29.
This pull request aims to add app user and group before copying files in multistage.Dockerfile.