diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3edcafb19..dd8b6cacc 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,7 +25,6 @@ jobs: run: | # https://github.com/actions/virtual-environments/issues/2840 # https://stackoverflow.com/questions/75536771/github-runner-out-of-disk-space-after-building-docker-image - sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true sudo rm -rf \ /usr/share/dotnet /usr/local/lib/android /opt/ghc \ /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \ @@ -35,7 +34,7 @@ jobs: sudo apt install aptitude -y >/dev/null 2>&1 sudo aptitude purge aria2 ansible azure-cli shellcheck rpm xorriso zsync \ esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable \ - google-cloud-sdk imagemagick \ + google-cloud-sdk google-cloud-cli imagemagick \ libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl \ mercurial apt-transport-https mono-complete libmysqlclient \ unixodbc-dev yarn chrpath libssl-dev libxft-dev \ @@ -46,9 +45,11 @@ jobs: sudo aptitude purge google-cloud-sdk -f -y >/dev/null 2>&1 sudo aptitude purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true sudo apt purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true + sudo aptitude purge google-chrome-stable -f -y >/dev/null 2>&1 || true sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1 sudo aptitude purge '~n ^php' -f -y >/dev/null 2>&1 sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1 + sudo aptitude purge '~n ^temurin' -f -y >/dev/null 2>&1 sudo apt-get autoremove -y >/dev/null 2>&1 sudo apt-get autoclean -y >/dev/null 2>&1 echo "some packages purged"