docker-library / buildpack-deps

MIT License
450 stars 115 forks source link

Switch to new `apt-get dist-clean` command #154

Closed tianon closed 10 months ago

tianon commented 10 months ago

APT 2.7.8 has a new apt-get dist-clean command designed exactly for our use case of "remove APT lists" and it's much better than our hammer. 🎉

tianon commented 10 months ago

(This is the follow-up I teased in https://github.com/docker-library/buildpack-deps/pull/153, and the reason I was looking at the files in the first place to do that cleanup :joy:)

tianon commented 10 months ago

(updated shared.jq with some helpful links for determining the appropriate set in the future :+1:)