From ae14ab0ba0d3eb574b7ed0a3a387b975f7975be8 Mon Sep 17 00:00:00 2001 From: Benjamin Denhartog Date: Tue, 3 Aug 2021 18:11:07 -0600 Subject: [PATCH] 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). --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 33b584d9ce..b432656c18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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