corretto / corretto-docker

Dockerfiles for Amazon Corretto Official images.
https://hub.docker.com/_/amazoncorretto
MIT No Attribution
152 stars 63 forks source link

Reduce debian container size by ~13mb #191

Open MrNavaStar opened 8 months ago

MrNavaStar commented 8 months ago

Issue #, if available: Apt cache files are left in the final built container

Description of changes: run apt-get clean and rm -rf /var/lib/apt/lists/* to clear cache

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.