From 4e906dbb2863449be43a7d0514a83fd9e77f36ee Mon Sep 17 00:00:00 2001 From: Charles Coggins Date: Thu, 22 Feb 2024 14:45:07 -0600 Subject: [PATCH] Update Dockerfile Co-authored-by: Kyle Willmon --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a9b5a055..af3e827a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -280,7 +280,7 @@ RUN \ # Create a git config file in a location accessible for $HOME-less users # Ref: https://git-scm.com/docs/git-config#FILES mkdir -vp "${XDG_CONFIG_HOME}/git" && touch "${XDG_CONFIG_HOME}/git/config"; \ - # Ensure the XDG and Corepack directories have permissions for non-root users + # Ensure non-root users have necessary permissions mkdir -vp "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_STATE_HOME}" "${XDG_CACHE_HOME}"; \ chmod -vR 777 "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_STATE_HOME}" "${XDG_CACHE_HOME}"; \ chmod -v 666 "${COREPACK_HOME}/lastKnownGood.json"; \