From 54abce335e7dbe275d65234a8ff543d146cd58d5 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Tue, 21 Nov 2023 23:44:16 +0000 Subject: [PATCH] Dockerfile: set `XDG_CACHE_HOME` to fix `umask` in GitHub Actions --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ddce60ceec4ae..4d4399825fe41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ RUN apt-get update \ USER linuxbrew COPY --chown=linuxbrew:linuxbrew . /home/linuxbrew/.linuxbrew/Homebrew ENV PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:${PATH}" \ + XDG_CACHE_HOME=/home/linuxbrew/.cache \ HOMEBREW_RUBY3=1 WORKDIR /home/linuxbrew