chore(devcontainer): update image tag to main in devcontainer configuration
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"image": "ghcr.io/yanhao98/h-devcontainer:oncreatecommand.d",
|
"image": "ghcr.io/yanhao98/h-devcontainer:main",
|
||||||
"runArgs": ["--name=${localWorkspaceFolderBasename}-devcontainer"],
|
"runArgs": ["--name=${localWorkspaceFolderBasename}-devcontainer"],
|
||||||
"forwardPorts": [4730, 4731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
|
"forwardPorts": [4730, 4731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
8. VS Code 附加到容器
|
8. VS Code 附加到容器
|
||||||
9. postAttachCommand (容器内,每次附加)
|
9. postAttachCommand (容器内,每次附加)
|
||||||
*/
|
*/
|
||||||
"initializeCommand": "echo '↘️ 准备创建容器...'; docker pull ghcr.io/yanhao98/h-devcontainer:oncreatecommand.d;",
|
"initializeCommand": "echo '↘️ 准备创建容器...'; docker pull ghcr.io/yanhao98/h-devcontainer:main;",
|
||||||
"onCreateCommand": "echo '↘️ 容器首次创建!'; /usr/local/bin/onCreateCommand.sh",
|
"onCreateCommand": "echo '↘️ 容器首次创建!'; /usr/local/bin/onCreateCommand.sh",
|
||||||
"updateContentCommand": "echo '↘️ 容器内容已更新!'; zsh -c 'time pnpm install;'",
|
"updateContentCommand": "echo '↘️ 容器内容已更新!'; zsh -c 'time pnpm install;'",
|
||||||
"postCreateCommand": "echo '↘️ 容器已创建!';",
|
"postCreateCommand": "echo '↘️ 容器已创建!';",
|
||||||
|
|||||||
Reference in New Issue
Block a user