Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Willmon <kyle@phylum.io>
  • Loading branch information
maxrake and kylewillmon authored Feb 22, 2024
1 parent 87d84be commit 4e906db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"; \
Expand Down

0 comments on commit 4e906db

Please sign in to comment.