Gogs in a container running as root

Hi all,

trying to start a container using the gogs image on dockerhub
https://hub.docker.com/r/gogs/gogs

running the command below, and checking id shows i’m user root
podman run -it --entrypoint /bin/bash --name gogs-test -p 8300:3000 -p 8322:22 docker.io/gogs/gogs

bash-5.0# id
uid=0(root) gid=0(root) groups=0(root)

after removing the container and running the command below, results in a running gogs container
podman run -it --name gogs-test -p 8300:3000 -p 8322:22 docker.io/gogs/gogs

usermod: no changes
Apr  7 12:38:13 syslogd started: BusyBox v1.31.1
2021/04/07 12:38:13 [ WARN] Custom config "/data/gogs/conf/app.ini" not found. Ignore this warning if you're running for the first time
2021/04/07 12:38:13 [TRACE] Log mode: Console (Trace)
2021/04/07 12:38:13 [ INFO] Gogs 0.13.0+dev
2021/04/07 12:38:13 [TRACE] Work directory: /app/gogs
2021/04/07 12:38:13 [TRACE] Custom path: /data/gogs
2021/04/07 12:38:13 [TRACE] Custom config: /data/gogs/conf/app.ini
2021/04/07 12:38:13 [TRACE] Log path: /app/gogs/log
2021/04/07 12:38:13 [TRACE] Build time: 2021-02-27 10:51:39 UTC
2021/04/07 12:38:13 [TRACE] Build commit: 509a392272a2ba2bde9d64bf5a55a58d0eadccc4
2021/04/07 12:38:13 [ INFO] Run mode: Development
2021/04/07 12:38:13 [ INFO] Listen on http://0.0.0.0:3000
Apr  7 12:38:13 sshd[62]: Server listening on :: port 22.
Apr  7 12:38:13 sshd[62]: Server listening on 0.0.0.0 port 22.

running another container using the below command, and checking id shows that im user git, which seems to be the intended result
podman run -it --entrypoint /bin/bash --name gogs-test --user 1000 -p 8300:3000 -p 8322:22 docker.io/gogs/gogs

bash-5.0$ id
uid=1000(git) gid=102(git) groups=102(git)

however running the below command fails to create a gogs container
podman run -it --name gogs-test --user 1000 -p 8300:3000 -p 8322:22 docker.io/gogs/gogs

groupmod: /etc/group.2: Permission denied
groupmod: cannot lock /etc/group; try again later.
usermod: no changes
error: failed switching to "git": operation not permitted
error: failed switching to "git": operation not permitted
error: failed switching to "git": operation not permitted
error: failed switching to "git": operation not permitted
error: failed switching to "git": operation not permitted
touch: /app/gogs/docker/s6/crond/down: Permission denied
s6-svscan: fatal: unable to mkfifo .s6-svscan/control: Permission denied

is root required to run gogs in a container? As im trying to run gogs in a openshift container, where they have random uids, would like to understand if root is required.