🗃️ Update codebase 🗃️

README.md
rootfs/tmp/etc/gitea/app.ini
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/05-dockerd.sh
rootfs/usr/local/etc/docker/init.d/08-gitea.sh
This commit is contained in:
casjay
2025-11-29 13:12:37 -05:00
parent 58363fea97
commit a79ffa1f6a
5 changed files with 91 additions and 14 deletions

View File

@@ -227,6 +227,14 @@ __run_pre_execute_checks() {
__banner "$pre_execute_checks_MessageST"
# Put command to execute in parentheses
{
# Fix cgroup v2 delegation for Docker-in-Docker
if [ -f "/sys/fs/cgroup/cgroup.controllers" ]; then
echo "Enabling cgroup v2 delegation for Docker-in-Docker"
# Enable all available controllers at root
if [ -w "/sys/fs/cgroup/cgroup.subtree_control" ]; then
cat /sys/fs/cgroup/cgroup.controllers > /sys/fs/cgroup/cgroup.subtree_control 2>/dev/null || true
fi
fi
[ -L "/config/docker/daemon.json" ] && unlink "/config/docker/daemon.json"
if [ -n "$DOCKER_REGISTRIES" ]; then
local set_reg=""