🗃️ 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

@@ -223,6 +223,13 @@ mkdir -p "/usr/local/etc/docker/exec"
touch "/data/logs/start.log"
touch "/data/logs/entrypoint.log"
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Enable cgroup v2 delegation for Docker-in-Docker
if [ -f "/sys/fs/cgroup/cgroup.controllers" ]; then
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
# - - - - - - - - - - - - - - - - - - - - - - - - -
# fix permissions
chmod -f 777 "/run"
chmod -f 777 "/tmp"