Skip to content
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

Automate CVE patches removal #54

Open
renatomefi opened this issue Oct 1, 2018 · 0 comments
Open

Automate CVE patches removal #54

renatomefi opened this issue Oct 1, 2018 · 0 comments
Labels
Feature New feature or request

Comments

@renatomefi
Copy link
Contributor

renatomefi commented Oct 1, 2018

Context

When a new CVE comes up we tend to upgrade the package using apk upgrade --no-cache curl for instance.
Since our images are based on official ones, eventually they get the upgraded package which causes us to remove the patches from our Dockerfiles

Solution

  • Embrace all CVE patches in blocks like:
###> CVE: 1234 ###

###< CVE: 1234 ###
  • Write a script that removes them and tries to build the images and check for vulnerabilities, if it passes then automatically opens a PR with the CVEs removed
@renatomefi renatomefi added the Feature New feature or request label Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant