aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.rootless
diff options
context:
space:
mode:
authorSteven2021-06-06 00:04:56 +0200
committerGitHub2021-06-06 00:04:56 +0200
commit683cfe39ef2c03f204eb558ba6ec65c2b18b9433 (patch)
tree943083b91cee30f0967a63db0b3bc2ed04c37117 /Dockerfile.rootless
parentfe18a85f54813e835b57fa804cf009f910b79edc (diff)
Change default TMPDIR path in rootless containers (#16077)
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
Diffstat (limited to 'Dockerfile.rootless')
-rw-r--r--Dockerfile.rootless2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile.rootless b/Dockerfile.rootless
index 6f4e704f0..43ae308e3 100644
--- a/Dockerfile.rootless
+++ b/Dockerfile.rootless
@@ -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"