chore: add devcontainer Dockerfile, devcontainer.json, and env (#997)

* chore: add devcontainer Dockerfile, devcontainer.json, and env

* style: remove unnecessary comment on ENABLE_CACHE setting

* docs: add internal devcontainer README with setup instructions

* Update README in .devcontainer based on PR #997

---------

Co-authored-by: jingyuanlm <842442862@qq.com>
This commit is contained in:
you-n-g
2025-07-02 18:54:49 +08:00
committed by GitHub
parent c4007b4655
commit a67ec5ba01
4 changed files with 116 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"name": "rd-agent-mle DevContainer",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"workspaceFolder": "/workspace/RD-Agent",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/RD-Agent,type=bind,consistency=cached",
"remoteUser": "root",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"mounts": [
"source=/home/shared/RD-Agent/kaggle,target=/home/shared/RD-Agent/kaggle,type=bind,consistency=cached,readonly"
],
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter"
],
"runArgs": [
"--init",
"--shm-size=1g",
"--env-file", "${localWorkspaceFolder}/.devcontainer/env",
"--network=host",
"--gpus=all"
],
"postCreateCommand": "make dev"
}