Merge pull request #16245 from Bo98/gha-umask-fix

Dockerfile: set `XDG_CACHE_HOME` to fix `umask` in GitHub Actions
This commit is contained in:
Bo Anderson 2023-11-22 00:17:07 +00:00 committed by GitHub
commit f6a741b90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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