devcontainer: bump node version to 22 and update feature installation (#1017)

This commit is contained in:
Yang Gao authored and GitHub committed 2025-07-18 02:41:45 +01:00
1 parent 43114ccf86
commit a3226f724f
3 files changed
+21 -13

No files matched your search

+14 -3
View File
@@ -9,8 +9,6 @@
"dbaeumer.vscode-eslint",
"gruntfuggly.todo-tree",
"ronnidc.nunjucks",
"eamodio.gitlens",
"vscode-icons-team.vscode-icons",
"sysoev.language-stylus"
]
}
@@ -20,5 +18,18 @@
2333,
8000
],
"features": {
"ghcr.io/devcontainers-extra/features/gh-release:1": {
"repo": "criyle/go-judge",
"binaryNames": "go-judge",
"assetRegex": "go-judge_.*\\.tar\\.gz"
},
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
"packages": [
"gcc",
"g++"
]
}
},
"postCreateCommand": "git submodule update --init && yarn install && npx hydrooj cli system set server.port 2333 && npx hydrooj cli user create root@hydro.local root rootroot 2 && npx hydrooj cli user setSuperAdmin 2"
}
}