From 7b17d055cf1be02dfd1957b3a8ec780529742de8 Mon Sep 17 00:00:00 2001 From: justusbunsi <61625851+justusbunsi@users.noreply.github.com> Date: Sat, 5 Jun 2021 17:42:45 +0200 Subject: [PATCH] Change default TMPDIR path in rootless containers 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 6f4e704f00726..43ae308e3ac96 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"