From 683cfe39ef2c03f204eb558ba6ec65c2b18b9433 Mon Sep 17 00:00:00 2001 From: Steven <61625851+justusbunsi@users.noreply.github.com> Date: Sun, 6 Jun 2021 00:04:56 +0200 Subject: [PATCH] Change default TMPDIR path in rootless containers (#16077) Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com> --- Dockerfile.rootless | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.rootless b/Dockerfile.rootless index 6f4e704f00..43ae308e3a 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"