Closed karigeo closed 1 year ago
Thanks for reporting. Please try the latest docker image and check if it works now.
Cool, thanks for the quick fix! It's working now as intended... I was looking into the fix and just didn't quite get my head around it. Just out of curiosity, could you explain why it is working now with the fix? Thanks and BR
the fix does the changes of the user directly in the config file instead of using the usermod command. this means the tini init process will continue running with the initial uid/gid but that doesn't matter as this process is not accessing the mounted file system, thus doesn't need to run with the adjusted ids. the act runner is launched with the user after the uid/gid where adjusted in the config files and is executed with the desired uid/gid.
Hi there,
I'd like to run the DinD version, but assign different UID and GID for the act user. If I assign the environment variables like
GITEA_RUNNER_UID=99
andGITEA_RUNNER_GID=100
the image won't start and throws the following error:To me it looks like
/usr/bin/tini
is already started under user act and therefore subsequently changing this user's ID is not possible... Do you have any idea to get around that?This is my full
docker run
command:And this is the full log output: