[v15.0/forgejo] chore(Dockerfile.rootless): update shadowed env variables (#12137)

**Backport:** https://codeberg.org/forgejo/forgejo/pulls/11720

This was missed in https://codeberg.org/forgejo/forgejo/pulls/11098.

See https://github.com/go-gitea/gitea/pull/17846 for why this was added in the first place.

Note that this is not backwards compatible. For users with a custom `app.ini`-config this won't work. But it also didn't work with the previous config. This change only aligns it with the default app.ini-path.

I guess this needs some more discussion.

Co-authored-by: jaylinski <jaylinski@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12137
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2026-04-16 10:44:47 +02:00 committed by Michael Kriese
parent acfea14f20
commit f25747d0f6

View file

@ -9,7 +9,7 @@
# And place the original in /usr/lib/gitea with working files in /data/gitea # And place the original in /usr/lib/gitea with working files in /data/gitea
GITEA="/app/gitea/gitea" GITEA="/app/gitea/gitea"
WORK_DIR="/var/lib/gitea" WORK_DIR="/var/lib/gitea"
APP_INI="/etc/gitea/app.ini" APP_INI="/var/lib/gitea/custom/conf/app.ini"
APP_INI_SET="" APP_INI_SET=""
for i in "$@"; do for i in "$@"; do