fireant-bot / fireant

Fireant is a Dependabot-like service (tailored to Apache Ant + Ivy projects) which creates pull requests to keep your dependencies secure and up-to-date.
https://github.com/fireant-bot/fireant
Apache License 2.0
1 stars 1 forks source link

(DOK-DL3009) Delete the `apt-get` lists after installing something #31

Closed lewismc closed 3 years ago

lewismc commented 3 years ago

Description

Cleaning up the apt cache and removing /var/lib/apt/lists helps keep the image size down. Since the RUN statement starts with apt-get update, the package cache will always be refreshed prior to apt-get install. You can read more about it here. Note: Clean up must be performed in the same RUN …

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/fireant-bot/fireant/issue/DOK-DL3009/occurrences/