Closed PhilipMay closed 2 years ago
https://www.ecloudcontrol.com/best-practices-to-reduce-docker-images-size/
Add rm -rf /var/lib/apt/lists/* at the end of the apt-get -y install to clean up after install packages. (For yum, use yum clean all)
https://www.fromlatest.io/
https://www.augmentedmind.de/2022/02/06/optimize-docker-image-size/
debian default 163 rm -rf /var/lib/apt/lists/* 145
done
1
https://www.ecloudcontrol.com/best-practices-to-reduce-docker-images-size/
2
https://www.fromlatest.io/
3
https://www.augmentedmind.de/2022/02/06/optimize-docker-image-size/