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:
Benjamin Denhartog 2021-08-03 18:11:07 -06:00
parent bee3e6725c
commit ae14ab0ba0
No known key found for this signature in database
GPG Key ID: C2631F793A698827

View File

@ -48,6 +48,4 @@ RUN cd /home/linuxbrew/.linuxbrew \
&& brew cleanup \ && brew cleanup \
&& { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset gc.auto; true; } \ && { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset gc.auto; true; } \
&& { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset homebrew.devcmdrun; true; } \ && { git -C /home/linuxbrew/.linuxbrew/Homebrew config --unset homebrew.devcmdrun; true; } \
&& rm -rf ~/.cache \ && rm -rf ~/.cache
&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew \
&& chmod -R g+w,o-w /home/linuxbrew/.linuxbrew