This commit is contained in:
Christof Marti 2022-06-02 08:41:19 +02:00
Родитель c6ad457bfd
Коммит 29bca16da5
11 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -3,7 +3,7 @@
"dockerfile": "Dockerfile" "dockerfile": "Dockerfile"
}, },
"runArgs": [ "runArgs": [
"--shm-size=1g", "--shm-size=1g"
], ],
// Configure tool-specific properties. // Configure tool-specific properties.
"customizations": { "customizations": {
@ -38,7 +38,7 @@
"5901": { "5901": {
"label": "VNC TCP port (password: vscode)", "label": "VNC TCP port (password: vscode)",
"onAutoForward": "silent" "onAutoForward": "silent"
}, }
}, },
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh", "postCreateCommand": "bash .devcontainer/postCreateCommand.sh",
"remoteUser": "node", "remoteUser": "node",

Просмотреть файл

@ -14,7 +14,7 @@
{ {
"default": true, "default": true,
"name": "JavaSE-1.8", "name": "JavaSE-1.8",
"path": "/usr/lib/jvm/zulu-8-amd64", "path": "/usr/lib/jvm/zulu-8-amd64"
} }
] ]
}, },

Просмотреть файл

@ -12,7 +12,7 @@
"extensions": [ "extensions": [
"ms-vscode.cpptools", "ms-vscode.cpptools",
"ms-vscode.cmake-tools", "ms-vscode.cmake-tools",
"ms-vscode.cpptools-extension-pack", "ms-vscode.cpptools-extension-pack"
] ]
} }
}, },

Просмотреть файл

@ -15,7 +15,7 @@
// The optional 'workspaceFolder' property is the path VS Code should open by default when // The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml // connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspace", "workspaceFolder": "/workspace"
// 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": [],

Просмотреть файл

@ -5,7 +5,7 @@
"context": "..", "context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile", "dockerFile": "Dockerfile"
// 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": [],

Просмотреть файл

@ -39,5 +39,5 @@
// Adding this volume will preserve the elm cache between rebuilds though, fixing this issue // Adding this volume will preserve the elm cache between rebuilds though, fixing this issue
"mounts": [ "mounts": [
"source=vscode-devcontainer-elm-dependency-cache,target=/home/node/.elm,type=volume" "source=vscode-devcontainer-elm-dependency-cache,target=/home/node/.elm,type=volume"
], ]
} }

Просмотреть файл

@ -12,7 +12,7 @@
// Rebuild the container if it already exists to update. // Rebuild the container if it already exists to update.
"VERSION": "latest", "VERSION": "latest",
// Update NODE_VERSION to pick the Node.js version: 12, 14 // Update NODE_VERSION to pick the Node.js version: 12, 14
"NODE_VERSION": "14", "NODE_VERSION": "14"
} }
}, },
@ -22,7 +22,7 @@
"vscode": { "vscode": {
// Set *default* container specific settings.json values on container create. // Set *default* container specific settings.json values on container create.
"settings": { "settings": {
"html.format.templating": true, "html.format.templating": true
}, },
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.

Просмотреть файл

@ -4,7 +4,7 @@
"runArgs": ["--privileged"], "runArgs": ["--privileged"],
"mounts": [ "mounts": [
"source=minikube-var-lib-docker,target=/var/lib/docker,type=volume", "source=minikube-var-lib-docker,target=/var/lib/docker,type=volume",
"source=minikube-config,target=/home/vscode/.minikube,type=volume", "source=minikube-config,target=/home/vscode/.minikube,type=volume"
], ],
"overrideCommand": false, "overrideCommand": false,

Просмотреть файл

@ -28,7 +28,7 @@
"C_Cpp.default.includePath": [ "C_Cpp.default.includePath": [
"${workspaceFolder}/**", "${workspaceFolder}/**",
"/usr/local/lib/python3.6/dist-packages/tensorflow/include/" "/usr/local/lib/python3.6/dist-packages/tensorflow/include/"
], ]
}, },
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.

Просмотреть файл

@ -22,7 +22,7 @@
], ],
"C_Cpp.clang_format_style": "{BasedOnStyle: Google}", "C_Cpp.clang_format_style": "{BasedOnStyle: Google}",
"C_Cpp.default.includePath": [ "C_Cpp.default.includePath": [
"${workspaceFolder}/**", "${workspaceFolder}/**"
], ],
"files.watcherExclude": { "files.watcherExclude": {
"**/bazel-*/**": true "**/bazel-*/**": true

Просмотреть файл

@ -25,9 +25,9 @@
"showGlobalVariables": true "showGlobalVariables": true
}, },
"gopls": { "gopls": {
"ui.usePlaceholders": true, // add parameter placeholders when completing a function "ui.usePlaceholders": true // add parameter placeholders when completing a function
}, },
"files.eol": "\n", // formatting only supports LF line endings "files.eol": "\n" // formatting only supports LF line endings
}, },
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.
@ -41,7 +41,7 @@
// "forwardPorts": [], // "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "make tools", "postCreateCommand": "make tools"
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode" // "remoteUser": "vscode"