Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ RUN pyinstaller --onedir \


# ---- Runtime Stage ----
FROM alpine:3.23.3
FROM alpine:3.23.4

WORKDIR /api

Expand Down
15 changes: 14 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,25 @@
"recreateWhen": "auto"
},

"devcontainer": {
"fileMatch": [
"(^|/)\\.devcontainer(/.+)?/devcontainer\\.json$"
]
},

"packageRules": [
{
"description": "🔒 Python 3.12 global lock (Docker + Devcontainer)",
"matchManagers": ["dockerfile", "devcontainer"],
"matchPackagePatterns": ["python"],
"allowedVersions": "/^3\\.12/",
"groupName": "Python 3.12 runtime"
},
Comment on lines +41 to +47
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The Python version lock regex /^3\.12/ is broad and allows Renovate to update the Alpine base version within the Python tag (e.g., from alpine3.23 to alpine3.24). To maintain consistency with the runtime stage and the update scripts (which rely on a specific Alpine version), it's safer to lock both the Python minor version and the Alpine base version in this rule.

    {
      "description": "🔒 Python 3.12 global lock (Docker + Devcontainer)",
      "matchManagers": ["dockerfile", "devcontainer"],
      "matchPackagePatterns": ["python"],
      "allowedVersions": "/^3\.12\..*-alpine3\.23$/",
      "groupName": "Python 3.12 runtime"
    },


{
"description": "🔷 Runtime Sync: Docker + Devcontainer base images",
"matchManagers": ["dockerfile", "devcontainer"],
"matchPackagePatterns": [
"python",
"alpine",
"mcr.microsoft.com/devcontainers"
],
Expand Down
Loading