From aa30bfdc95ea8d21d33226248b5d0e60faf359ba Mon Sep 17 00:00:00 2001 From: rusdevops Date: Wed, 25 Mar 2020 06:28:32 +0300 Subject: [PATCH] optimize image size #2 --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 27c8573..982eebb 100755 --- a/install.sh +++ b/install.sh @@ -34,6 +34,10 @@ brew install "$@" ${packages} brew postinstall ${packages} brew cleanup +brew uninstall go || echo "go is already uninstalled" +brew uninstall pandoc || echo "pandoc is already uninstalled" + +rm -rf $HOME/.cache # ---------------------------------------------------------------------------- # Install npm packages