Another attempt to fix the GITEA_RUNNER_GID envar issue. See https://github.com/vegardit/docker-gitea-act-runner/issues/5 Tested this GITEA_RUNNER_GID envar fix without building the upstream image, as that was problematic to achieve locally. The fixed image requires either compose: 'user:root' OR restart: always (or unless-stopped). Why? The UID change in /opt/run.sh fails the first time, at its next sudo command. Basically: changing the running UID's /etc/passwd entry causes the next sudo command to fail. The container restart (without wiping the read/write layer) starts with the already changed /etc/passwd, and then continues without the sudo error. Signed-off-by: William Blew <william@kulian.org> |
||
|---|---|---|
| .. | ||
| DinD.Dockerfile | ||
| Dockerfile | ||
| config.template.yaml | ||
| run.sh | ||
| run_runner.sh | ||