summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2025-11-19 12:34:27 +0900
committerGitHub <noreply@github.com>2025-11-19 12:34:27 +0900
commit2f3421645a5058ada3d2156faaedc690dda90fcc (patch)
tree6ff4772fa45ea930daec0ca8b5b9abbd84c0e7f4
parentrefactor (diff)
downloadmisskey-2f3421645a5058ada3d2156faaedc690dda90fcc.tar.gz
misskey-2f3421645a5058ada3d2156faaedc690dda90fcc.tar.bz2
misskey-2f3421645a5058ada3d2156faaedc690dda90fcc.zip
fix(devcontainer): devcontainerのバージョンアップ+Renovateでbump出来るように設定を追加 (#16793)
* fix(devcontainer): devcontainerのバージョンアップ+Renovateでbump出来るように設定を追加 * Update renovate.json5 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update renovate.json5 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix matchFileNames * using trixie --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
-rw-r--r--.devcontainer/Dockerfile2
-rw-r--r--renovate.json512
2 files changed, 13 insertions, 1 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index b6ebcf6ad3..d208ad6ecf 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1 +1 @@
-FROM mcr.microsoft.com/devcontainers/javascript-node:0-18
+FROM mcr.microsoft.com/devcontainers/javascript-node:4.0.3-24-trixie
diff --git a/renovate.json5 b/renovate.json5
index 0ada26d579..0b0f9e1ac9 100644
--- a/renovate.json5
+++ b/renovate.json5
@@ -106,6 +106,18 @@
'.devcontainer/**',
],
},
+ {
+ // devcontainer (Dockerfile用の設定)
+ groupName: '[devcontainer] Update dependencies',
+ matchFileNames: ['.devcontainer/Dockerfile'],
+ matchDepNames: ['mcr.microsoft.com/devcontainers/javascript-node'],
+ allowedVersions: '/-[0-9]+-trixie$/',
+
+ // major/minor/patch: devcontainer の semver
+ // build: Node メジャー
+ // dist: Debian codename (e.g., bullseye, bookworm)(比較には使わない)
+ versioning: 'regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<build>\\d+)-(?<dist>.+)$',
+ },
],
customManagers: [
{