Files
Michael Kriese ef96e4da50 feat: validate the containerbase image version on startup (#47248)
* feat: validate the containerbase image version on startup

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
Co-Authored-By: Claude Sonnet 5.5 <michael.kriese+claude-code@mend.io>

* fix: read the containerbase version check bypass from the process environment only

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
Co-Authored-By: Claude Sonnet 5.5 <michael.kriese+claude-code@mend.io>

* refactor: use isContainerbase from the base image package in the version check

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
Co-Authored-By: Claude Sonnet 5.5 <michael.kriese+claude-code@mend.io>

* fix: explain the containerbase image version check errors

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
Co-Authored-By: Claude Sonnet 5.5 <michael.kriese+claude-code@mend.io>

* test: read the containerbase version file from memfs

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>

* fix: address review feedback for the containerbase version check

Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>

---------

Co-authored-by: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
2026-10-22 14:02:27 +00:00

34 lines
896 B
JSON

{
"name": "Renovate",
"build": {
"dockerfile": "Dockerfile"
},
"init": true,
"containerEnv": {
// The devcontainer image is updated separately from the base image used by Renovate
"RENOVATE_X_IGNORE_CONTAINERBASE_VERSION": "true"
},
"hostRequirements": {
"cpus": 4,
"memory": "8gb",
"storage": "32gb"
},
"customizations": {
"vscode": {
"terminal.integrated.defaultProfile.linux": "bash",
"extensions": [
"oxc.oxc-vscode",
"esbenp.prettier-vscode",
"vitest.explorer",
"editorconfig.editorconfig",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"TypeScriptTeam.native-preview"
]
}
},
"postCreateCommand": [".devcontainer/post-create.sh"],
// Otherwise vitest extension fails because deps were not installed yet
"waitFor": "postCreateCommand"
}