Skip to content

Commit

Permalink
Disable Dockerfile Python upgrading (#2022)
Browse files Browse the repository at this point in the history
Prevent Renovate from upgrading Python base image in `Dockerfiles`

Add a new `packageRule` to maintain `python:3.11-slim` for stability in
docker. Renovate was previously [automatically
upgrading](https://github.com/google/osv.dev/pull/2000/files) this
image, causing potential compatibility issues.
  • Loading branch information
hogo6002 authored Feb 29, 2024
1 parent 26879ac commit 8967519
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
{
"matchFileNames": ["Pipfile"],
"groupName": "osv-lib"
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["python"],
"enabled": false
}
]
}

0 comments on commit 8967519

Please sign in to comment.