Skip to content

Commit

Permalink
remove package uninstallation (we might not need this anymore)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Aug 22, 2024
1 parent 0c34079 commit 02c21b5
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Check size of packages
run: |
df -h
sudo apt-get update
echo "Listing 25 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 25
echo "Removing large packages"
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y '^libllvm-.*'
sudo apt-get remove -y azure-cli
sudo apt-get remove -y google-cloud-cli
sudo apt-get remove -y google-chrome-stable
sudo apt-get remove -y firefox
sudo apt-get remove -y powershell
sudo apt-get remove -y mono-devel
sudo apt-get remove -y '^temurin.*'
sudo apt-get autoremove -y
sudo apt-get clean
rm -rf /usr/share/dotnet/
df -h
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit 02c21b5

Please sign in to comment.