docker-gitea-act-runner/image
William Blew c96a2301a8
FIX the GITEA_RUNNER_GID envar, 2nd attempt
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>
2023-05-19 22:44:35 -07:00
..
DinD.Dockerfile add ARM builds 2023-05-10 23:04:50 +02:00
Dockerfile add ARM builds 2023-05-10 23:04:50 +02:00
config.template.yaml add GITEA_RUNNER_JOB_CONTAINER_(PRIVILEGED|OPTIONS) env vars 2023-04-13 18:59:41 +02:00
run.sh FIX the GITEA_RUNNER_GID envar, 2nd attempt 2023-05-19 22:44:35 -07:00
run_runner.sh Fix #3 failed to create symbolic link: File exists 2023-05-04 15:11:17 +02:00