]> source.dussan.org Git - gitea.git/commitdiff
Change default TMPDIR path in rootless containers (#16077)
authorSteven <61625851+justusbunsi@users.noreply.github.com>
Sat, 5 Jun 2021 22:04:56 +0000 (00:04 +0200)
committerGitHub <noreply@github.com>
Sat, 5 Jun 2021 22:04:56 +0000 (00:04 +0200)
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
Dockerfile.rootless

index 6f4e704f007262d0d05cf559c7287fd67ead7013..43ae308e3ac96e80af7df0db4c34b5c2f7070771 100644 (file)
@@ -60,6 +60,8 @@ USER git:git
 ENV GITEA_WORK_DIR /var/lib/gitea
 ENV GITEA_CUSTOM /var/lib/gitea/custom
 ENV GITEA_TEMP /tmp/gitea
+ENV TMPDIR /tmp/gitea
+
 #TODO add to docs the ability to define the ini to load (usefull to test and revert a config)
 ENV GITEA_APP_INI /etc/gitea/app.ini
 ENV HOME "/var/lib/gitea/git"