Skip to content

Reduce warnings by using apt-get instead of apt #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

colindean
Copy link
Contributor

And also add in some other best practices options:

  • Prevent any prompt blocks with DEBIAN_FRONTEND=noninteractive, although they shouldn't happen with this one package
  • Avoid recommended packages with --no-install-recommends
  • Expand -y to --yes because long options are better in scripts

Formatted such that the important parts of the command are easily visible: sudo apt-get install $pkg and the rest are just kinda cruft to the right!

Fixes #41

And also add in some other best practices options:

* Prevent any prompt blocks with `DEBIAN_FRONTEND=noninteractive`, although they shouldn't happen with this one package
* Avoid recommended packages with `--no-install-recommends`
* Expand `-y` to `--yes` because long options are better in scripts

Formatted such that the important parts of the command are easily visible: `sudo apt-get install $pkg` and the rest are just kinda cruft to the right!
@colindean
Copy link
Contributor Author

@JarLob JarLob merged commit d2ee2b1 into GitHubSecurityLab:main Jul 22, 2025
@JarLob
Copy link
Contributor

JarLob commented Jul 22, 2025

Thanks!

@colindean colindean deleted the patch-1 branch July 23, 2025 00:36
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.

Action produces warning annotations
2 participants