Initial commit: Gitea CI jobs in gVisor with sandboxed Docker

This commit is contained in:
agentbox committed 2026-11-05 11:30:31 +00:00
commit 6c14f5d76d
17 files changed
+1084

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -eu
# The stock image waits for the Docker s6 service to report "ready". On slow
# nested hosts s6-notifyoncheck can time out before dockerd finishes starting,
# leaving act_runner blocked forever. Wait for the daemon itself instead.
while ! docker info >/dev/null 2>&1; do
sleep 1
done
# Start the Docker daemon that CI jobs are allowed to use. It is itself inside
# a gVisor sandbox and is completely separate from the privileged runner
# daemon.
/usr/local/bin/start-sandboxed-dind.sh
exec /usr/local/bin/run.sh