更新 devcontainer.json,添加 tmux 和 GitHub CLI 功能支持;更新 .gitignore,添加 config.toml 忽略规则
parent
bc11ee5ec7
commit
a94beb4355
|
|
@ -6,7 +6,14 @@
|
||||||
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
|
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
// "features": {},
|
"features": {
|
||||||
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
|
||||||
|
"packages": [
|
||||||
|
"tmux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||||
|
},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
|
|
@ -21,7 +28,7 @@
|
||||||
"jetbrains" : {
|
"jetbrains" : {
|
||||||
"backend" : "PyCharm"
|
"backend" : "PyCharm"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
|
||||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
// "remoteUser": "root"
|
// "remoteUser": "root"
|
||||||
|
|
|
||||||
|
|
@ -268,3 +268,5 @@ $RECYCLE.BIN/
|
||||||
|
|
||||||
# Windows shortcuts
|
# Windows shortcuts
|
||||||
*.lnk
|
*.lnk
|
||||||
|
|
||||||
|
config.toml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue