Skip to content

Conversation

zrquan
Copy link

@zrquan zrquan commented Oct 11, 2024

Description

This PR can help to reduce the image size a little.

Screenshot_20241011_153130

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@mkultraWasHere
Copy link
Contributor

In theory I dont have a problem with this, however Im unsure if this will cause unexpected downstream issues.

@clenk @uruwhy Any strong feelings?

@deacon-mp deacon-mp requested a review from Copilot September 29, 2025 23:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR optimizes Docker image size by adding the --no-install-recommends flag to apt-get install commands and --no-cache-dir flag to pip3 install commands, which prevents installation of unnecessary recommended packages and caches respectively.

  • Added --no-install-recommends flag to all apt-get install commands
  • Added --no-cache-dir flag to pip3 install command
  • These changes reduce the final Docker image size by excluding unnecessary packages and build artifacts

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

sonarqubecloud bot commented Oct 6, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants