Closed MaxJPRey closed 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 80.85%. Comparing base (
fb2512b
) to head (1b0f8c9
).:exclamation: Current head 1b0f8c9 differs from pull request most recent head 49546e9
Please upload reports for the commit 49546e9 to get more accurate results.
@MaxJPRey . I think this is added to reduce the image size. Pinging @samigithub2022 for review.
@dipinknair - @MaxJPRey's change will precisely do that, reduce the image size
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.
Clean up must be performed in the same RUN step, otherwise it will affect image size.