bookkeeper
bookkeeper copied to clipboard
fix: permission denied in the docker image
Fix #4461
Motivation
$BK_USER has been added to the image, we should use this user to run the image.
You can try this command to verify this PR.
gh pr checkout 4464
cd docker
docker build -t zixuan/bk .
docker run -it --rm zixuan/bk
Changes
- Use
$BK_USERwith the grouprootto run the image. - Follow up "Principle of least privilege".
- Add
ZK_SHELL_HOMEto set the zk-shell home to writing.zk-shellfile toBK_HOME/data, notBK_HOME.
Could you help to review this PR? @shoothzj
Bump
@lhotari Would you please take a look again?
@lhotari Your review result has been fixed.