docker remote windows
This commit is contained in:
27
rin/miner/.devcontainer/devcontainer.json
Normal file
27
rin/miner/.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "RinHash Build Environment",
|
||||
"dockerFile": "../Dockerfile.windows-build",
|
||||
"context": "..",
|
||||
"remoteUser": "root",
|
||||
"mounts": [
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
||||
],
|
||||
"extensions": [
|
||||
"ms-vscode.vscode-docker",
|
||||
"ms-vscode-remote.remote-ssh",
|
||||
"ms-vscode-remote.remote-containers",
|
||||
"ms-vscode.cmake-tools",
|
||||
"ms-vscode.cpptools"
|
||||
],
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash",
|
||||
"docker.host": "unix:///var/run/docker.sock",
|
||||
"C_Cpp.default.compilerPath": "/usr/bin/gcc",
|
||||
"C_Cpp.default.cStandard": "c11",
|
||||
"C_Cpp.default.cppStandard": "c++11",
|
||||
"cmake.configureOnOpen": false
|
||||
},
|
||||
"postCreateCommand": "apt-get update && apt-get install -y docker.io git",
|
||||
"forwardPorts": [],
|
||||
"shutdownAction": "stopContainer"
|
||||
}
|
Reference in New Issue
Block a user