Skip to content

Commit

Permalink
Freeing more disk space for Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
JBris committed Aug 16, 2024
1 parent 515ff75 commit eaf5f4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ jobs:
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel
sudo apt-get autoremove -y
sudo apt-get clean
docker rmi $(docker image ls -aq)
rm -rf /usr/share/dotnet/
df -h
- uses: actions/checkout@v3
- name: Set up QEMU
Expand Down

0 comments on commit eaf5f4d

Please sign in to comment.