mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-11-05 10:57:57 -05:00
chmod 0600 $DATA_DIR/ssh/* fails with "cannot access" when the directory is empty (first boot before keys are generated, or when keys are symlinks in /config/ssh). Replace the glob with find -type f which silently handles empty directories. - rootfs/usr/local/etc/docker/init.d/08-gitea.sh: use find -exec chmod instead of glob for ssh key permissions rootfs/usr/local/etc/docker/init.d/08-gitea.sh