project-copacetic / copacetic

🧵 CLI tool for directly patching container images using reports from vulnerability scanners
https://project-copacetic.github.io/copacetic/
Apache License 2.0
843 stars 57 forks source link

feat: Added support for custom APT config and gpg key injection #690

Open Akash-Singh04 opened 2 days ago

Akash-Singh04 commented 2 days ago

Add functionality to make the customAPTConfig and gpgKeys parameters optional in the installUpdates function of the dpkgManager struct. The function now checks if these parameters are provided before applying the custom APT configuration and adding the GPG keys.

Closes: #600