Docker GitLab CE Omnibus cannot override git user ID and git group ID
Summary
When starting a Docker container for GitLab CE with the config parameters specified in https://docs.gitlab.com/omnibus/settings/configuration.html#changing-the-name-of-the-git-user--group (using 1010 for ID and 1010 for GID) the "git" user inside the container still has the 998 UID and GID, even after going into the container manually and executing gitlab-ctl reconfigure.
Steps to reproduce
Start a GitLab Docker container with the GITLAB_OMNIBUS_CONFIG parameter wherein you specify the git UID and GID:
--env GITLAB_OMNIBUS_CONFIG=" \
... other config options ...
user['username'] = 'git'; \
user['group'] = 'git'; \
user['uid'] = 1010; \
user['gid'] = 1010; \
" \
What is the current bug behavior?
The git user inside the container has UID and GID 998 as shown in /etc/passwd:
root@gitlab:/# cat /etc/passwd | grep git
git:x:998:998::/var/opt/gitlab:/bin/sh
What is the expected correct behavior?
The git user would have UID and GID 1010.
Details of package version
Using Docker image gitlab/gitlab-ce:12.4.6-ce.0