mirror of
https://github.com/casjaysdevdocker/gitea
synced 2025-12-15 14:07:01 -05:00
🗃️ Update codebase 🗃️
rootfs/root/docker/setup/05-custom.sh rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
@@ -45,8 +45,9 @@ if curl -q -LSsf "$GITEA_URL" -o "/tmp/gitea.$$"; then
|
||||
echo "gitea has been installed to: $GITEA_BIN_FILE"
|
||||
chmod +x "$GITEA_BIN_FILE"
|
||||
if [ -d "/etc/sudoers.d" ]; then
|
||||
echo "gitea ALL=(ALL) NOPASSWD: ALL" >"/etc/sudoers.d/gitea"
|
||||
echo "docker ALL=(ALL) NOPASSWD: ALL" >"/etc/sudoers.d/docker"
|
||||
echo "root ALL=(ALL) NOPASSWD: ALL" >"/etc/sudoers.d/root"
|
||||
echo "git ALL=(ALL) NOPASSWD: ALL" >"/etc/sudoers.d/git"
|
||||
echo "docker ALL=(ALL) NOPASSWD: ALL" >"/etc/sudoers.d/docker"
|
||||
fi
|
||||
else
|
||||
echo "Failed to download gitea" >&2
|
||||
|
||||
Reference in New Issue
Block a user