mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Dockerfile: remove extraneous permission modification commands
These are no longer necessary due to the fact that the second `RUN` instruction runs as the `linuxbrew` user (as of commit 77afe94446e78e688ebde7a5e2b1249fc0a4afcd).
This commit is contained in:
parent
bee3e6725c
commit
ae14ab0ba0
@ -48,6 +48,4 @@ RUN cd /home/linuxbrew/.linuxbrew \
|
||||
&& brew cleanup \
|
||||
&& { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset gc.auto; true; } \
|
||||
&& { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset homebrew.devcmdrun; true; } \
|
||||
&& rm -rf ~/.cache \
|
||||
&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew \
|
||||
&& chmod -R g+w,o-w /home/linuxbrew/.linuxbrew
|
||||
&& rm -rf ~/.cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user