Skip to content

Commit

Permalink
Dockerfile: remove extraneous permission modification commands
Browse files Browse the repository at this point in the history
These are no longer necessary due to the fact that the second `RUN`
instruction runs as the `linuxbrew` user (as of commit
77afe94).
  • Loading branch information
Benjamin Denhartog committed Aug 11, 2021
1 parent bee3e67 commit ae14ab0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ae14ab0

Please sign in to comment.