------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/5004/
------------------------------------------------------------------------------

New ticket #5004 by splatter3
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
Documented process to use custom user id for docker user does not work
==============================================================================

# What version are you running?
5.0.5

# What's the URL of the page containing the problem?
https://www.reviewboard.org/docs/manual/latest/admin/installation/docker/#file-system

# What steps will reproduce the problem?
1. Follow documented steps to use a custom user and group id for the 
`reviewboard` user when installing with docker.
2. Check the owner and group of the files in the `site/` directory.

# What is the expected output? What do you see instead?
Expected to see the user matching the configured user/group id. You will see a 
different user.

# What operating system are you using? What browser?
N/A

# Please provide any additional information below.
>From looking through the [source 
>code](https://github.com/reviewboard/reviewboard/blob/release-5.0.5/contrib/docker/Dockerfile#L139-L149),
> it looks like the properties mentioned in the documentation are docker build 
>arguments (`ARG`). Build arguments can only be used when building the 
>container.
The logic to create the `reviewboard` user/group either needs to be moved to 
[docker-entrypoint.sh](https://github.com/reviewboard/reviewboard/blob/release-5.0.5/contrib/docker/scripts/docker-entrypoint.sh),
 or add additional logic to `docker-entrypoint.sh` to change the user/group id 
if the properties are present.

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20230725034045.29902.71417%40ip-10-1-54-209.ec2.internal.

Reply via email to