Skip to content

Commit

Permalink
Update devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
elysia-best authored Nov 25, 2024
1 parent 15ea1fa commit 3d48f72
Showing 1 changed file with 9 additions and 33 deletions.
42 changes: 9 additions & 33 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,21 @@
{
"build": {
"dockerfile": "Dockerfile",
"context": "."
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "codespace",
"userUid": "1000",
"userGid": "1000"
},
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/git-lfs:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
},
"overrideFeatureInstallOrder": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/sshd",
"ghcr.io/devcontainers/features/git-lfs",
"ghcr.io/devcontainers/features/github-cli"
],
"image": "ghcr.io/lingmoos/lingmo-dev-container:latest",
"remoteUser": "codespace",
"containerUser": "codespace",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"forwardPorts": [6080],
"portsAttributes": {
"6080": {
"label": "desktop"
}
},

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go",
"python.defaultInterpreterPath": "/home/codespace/.python/current/bin/python3",
"jupyter.kernels.filter": [
{
"path": "/opt/conda/bin/python",
Expand All @@ -67,7 +42,8 @@
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"GitHub.vscode-pull-request-github"
"GitHub.vscode-pull-request-github",
"ms-vscode.cpptools-extension-pack"
]
}
}
Expand Down

0 comments on commit 3d48f72

Please sign in to comment.