actions-runner-controller/runner
Richard Fussenegger 61d1235d2a
Added `DEBIAN_FRONTEND=noninteractive` to `sudo` (#1859)
By default `sudo` drops all environment variables and executes its commands with a clean environment. This is by design, but for the `DEBIAN_FRONTEND` environment variable it is not what we want, since it results in installers being interactive. This adds the `env_keep` instruction to `/etc/sudoers` to keep `DEBIAN_FRONTEND` with its `noninteractive` value, and thus pass it on to commands that care about it. Note that this makes no difference in our builds, because we are running them directly as `root`. However, for users of our image this is going to make a difference, since they start out as `runner` and have to use `sudo`.

Co-authored-by: Fleshgrinder <fleshgrinder@users.noreply.github.com>
2022-11-05 17:20:53 +09:00
..
hooks Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
supervisor feat: Add container to propagate host network MTU (#1201) 2022-09-23 17:08:28 +09:00
.dockerignore Renamed Runner Dockerfiles (#1248) 2022-05-16 11:41:28 +09:00
Makefile chore(deps): update dependency actions/runner to v2.299.1 (#1973) 2022-11-03 14:40:06 +09:00
actions-runner-dind-rootless.dockerfile chore(deps): update dependency actions/runner to v2.299.1 (#1973) 2022-11-03 14:40:06 +09:00
actions-runner-dind.dockerfile Added `DEBIAN_FRONTEND=noninteractive` to `sudo` (#1859) 2022-11-05 17:20:53 +09:00
actions-runner.dockerfile Added `DEBIAN_FRONTEND=noninteractive` to `sudo` (#1859) 2022-11-05 17:20:53 +09:00
docker-shim.sh Add MTU propagation docker-shim also to rootless dind runner images 2022-09-25 07:50:12 +09:00
entrypoint-dind-rootless.sh Allow to set docker default address pool (#1971) 2022-11-05 14:46:32 +09:00
entrypoint-dind.sh Allow to set docker default address pool (#1971) 2022-11-05 14:46:32 +09:00
entrypoint.sh Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
graceful-stop.sh Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
logger.sh Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
startup.sh Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
update-status Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00
wait.sh Fix runners to do their best to gracefully stop on pod eviction (#1759) 2022-11-01 20:30:10 +09:00