Added config and dockerfile for vscode dev containers
This commit is contained in:
46
.devcontainer/devcontainer.json
Normal file
46
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
// "remoteUser": "vscode",
|
||||
"name": "Illegitimate dev",
|
||||
"build": {
|
||||
"context": "..",
|
||||
"dockerfile": "./Dockerfile"
|
||||
},
|
||||
|
||||
"mounts": [
|
||||
"source=${localEnv:HOME}/.ssh/gitlab,target=/root/.ssh/gitlab,type=bind",
|
||||
"source=${localEnv:HOME}/.ssh/config,target=/root/.ssh/config,type=bind",
|
||||
"source=${localEnv:HOME}/.wakatime.cfg,target=/root/.wakatime.cfg,type=bind"
|
||||
],
|
||||
|
||||
"postCreateCommand": "chmod 600 -R /root/.ssh",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"eamodio.gitlens",
|
||||
"tal7aouy.icons",
|
||||
"oderwat.indent-rainbow",
|
||||
"ms-vscode.vscode-typescript-next",
|
||||
"mongodb.mongodb-vscode",
|
||||
"quicktype.quicktype",
|
||||
"esbenp.prettier-vscode",
|
||||
"YoavBls.pretty-ts-errors",
|
||||
"rangav.vscode-thunder-client",
|
||||
"WakaTime.vscode-wakatime",
|
||||
"gamunu.vscode-yarn"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": { }
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Uncomment the next line to run commands after the container is created.
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user