Building docker image based on debian trixie instead of Ubuntu fails while creating groups with specific ID from setup file due to existing ID mapped with system
<!---
Please read this!
Before you create a new issue, please make sure that you already ran
`sudo gitlab-ctl reconfigure`
Also make sure to search in https://gitlab.com/gitlab-org/omnibus-gitlab/issues,
to verify the issue you're about to submit isn't a duplicate.
--->
### Summary
I am trying to build Gitlab docker image based on debian trixie instead of Ubuntu, it is failing while creating groups with specific IDs from setup file due to existing ID mapped with system. I was getting same error in the earlier version 18.2.5, but as there was no official trixie package from gitlab, I tried with the latest version 18.5.1. I am using the same assets/setup file provided by Gitlab.
https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/18.5.1+ce.0/docker/assets/setup
### Steps to reproduce
1. Created a Dockerfile with base image debian 13 trixie instead of Ubuntu.
2. Executed the Dockerfile and got the following error: `groupadd: GID '998' already exists`
### What is the current _bug_ behavior?
Dockerfile doesnot build the image and gives the mentioned error. The groupid 998 is already taken by the group `systemd-network:x:998:` I also tried to install the debian package directly into a debian trixie container, in this case I could see the groups created by gitlab had different `gids` than what is mentioned in the [setup](https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/18.5.1+ce.0/docker/assets/setup) script.
```
root@6c4010aeb44e:/# getent group git
git:x:994:
root@6c4010aeb44e:/# getent group gitlab-www
gitlab-www:x:995:
```
Groups like `groupadd -g 994 mattermost` were not present in that container.
### What is the expected _correct_ behavior?
Gitlab should be installed with Debian Trixie base image or either the [setup](https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/18.5.1+ce.0/docker/assets/setup) script should be updated with the latest group id changes.
### Relevant logs
<details>
<summary>Relevant logs</summary>
<pre>
<!--Paste any relevant logs.
Live log output can be found with `sudo gitlab-ctl tail`.
Log files live in `/var/log/gitlab` by default.-->
groupadd: GID '998' already exists
---
root@6c4010aeb44e:/# getent group git
git:x:994:
root@6c4010aeb44e:/# getent group gitlab-www
gitlab-www:x:995:
</pre>
</details>
### Details of package version
<details>
<summary>Provide the package version installation details</summary>
<pre>
<!--For Debian, Ubuntu based systems, paste the output of:
`dpkg-query -l "gitlab-*"`
<p data-sourcepos="60:1-61:25">For RHEL based systems (CentOS, RHEL, OL, Scientific, OpenSUSE, SLES), paste the output of:
<code data-sourcepos="61:1-61:25">rpm -qa | grep 'gitlab'</code></p>
<p data-sourcepos="63:1-64:3">If you can't provide these details, see <a data-sourcepos="63:41-63:78" href="https://about.gitlab.com/getting-help/">https://about.gitlab.com/getting-help/</a> page on where to ask your question.
--></p>
</pre>
</details>
<h3 data-sourcepos="69:1-69:23"><a href="#environment-details" aria-hidden="true" class="anchor" id="user-content-environment-details"></a>Environment details</h3>
<ul data-sourcepos="71:1-85:0">
<li data-sourcepos="71:1-71:42">Operating System: <code data-sourcepos="71:21-71:42">REPLACE-WITH-DETAILS</code></li>
<li data-sourcepos="72:1-75:33">Installation Target, remove incorrect values:
<ul data-sourcepos="73:3-75:33">
<li data-sourcepos="73:3-73:22">Bare Metal Machine</li>
<li data-sourcepos="74:3-74:68">VM: Digital Ocean, AWS, GCP, Azure, Other <code data-sourcepos="74:47-74:68">REPLACE-WITH-DETAILS</code></li>
<li data-sourcepos="75:3-75:33">Other: <code data-sourcepos="75:12-75:33">REPLACE-WITH-DETAILS</code></li>
</ul>
</li>
<li data-sourcepos="76:1-79:33">Installation Type, remove incorrect values:
<ul data-sourcepos="77:3-79:33">
<li data-sourcepos="77:3-77:20">New Installation</li>
<li data-sourcepos="78:3-78:47">Upgrade from version <code data-sourcepos="78:26-78:47">REPLACE-WITH-DETAILS</code></li>
<li data-sourcepos="79:3-79:33">Other: <code data-sourcepos="79:12-79:33">REPLACE-WITH-DETAILS</code></li>
</ul>
</li>
<li data-sourcepos="80:1-80:76">Is there any other software running on the machine: <code data-sourcepos="80:55-80:76">REPLACE-WITH-DETAILS</code></li>
<li data-sourcepos="81:1-81:49">Is this a single or multiple node installation?</li>
<li data-sourcepos="82:1-85:0">Resources
<ul data-sourcepos="83:3-85:0">
<li data-sourcepos="83:3-83:31">CPU: <code data-sourcepos="83:10-83:31">REPLACE-WITH-DETAILS</code></li>
<li data-sourcepos="84:3-85:0">Memory total: <code data-sourcepos="84:19-84:40">REPLACE-WITH-DETAILS</code></li>
</ul>
</li>
</ul>
<h3 data-sourcepos="86:1-86:25"><a href="#configuration-details" aria-hidden="true" class="anchor" id="user-content-configuration-details"></a>Configuration details</h3>
<details>
<summary> Provide the relevant sections of `/etc/gitlab/gitlab.rb` </summary>
<pre>
<!--
Paste the details but omit lines starting with `#`. Relevant lines can be retrieved by
running `grep -v -e '^#' -e '^$' /etc/gitlab/gitlab.rb`. Be certain to sanitize sensitive
configuration such as passwords and secrets.-->
18.5.1-ce.0
</pre>
</details>
issue