Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Updated to latest devcontainer specification #115

Open
wants to merge 1 commit into
base: starter
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
// connected. This is typically a volume mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/tf/caf",

// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"files.eol": "\n",
"editor.tabSize": 2,
"terminal.integrated.scrollback": 32000,
},

// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],

Expand All @@ -33,8 +25,19 @@
"postCreateCommand": "sudo cp -R /tmp/.ssh-localhost/* ~/.ssh && sudo chown -R $(whoami):$(whoami) /tf/caf ~/.ssh && sudo chmod 400 ~/.ssh/* && git config --global core.editor vi && pre-commit install && pre-commit autoupdate",

// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"4ops.terraform",
"mutantdino.resourcemonitor"
]
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"customizations": {
"vscode": {
"extensions": [
"4ops.terraform",
"mutantdino.resourcemonitor"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 2,
"terminal.integrated.scrollback": 64000
}
}
}
}