Skip to content

Commit badc301

Browse files
committed
updated and added a second devcontainer
1 parent a0a2b2e commit badc301

File tree

2 files changed

+42
-15
lines changed

2 files changed

+42
-15
lines changed

.devcontainer/devcontainer.json renamed to .devcontainer/security/devcontainer.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,19 @@
1313
"ghcr.io/dhoeric/features/terraform-docs:1": {},
1414
"ghcr.io/dhoeric/features/tfsec:1": {},
1515
"ghcr.io/dhoeric/features/trivy:1": {},
16-
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
17-
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
18-
"packages": "chromium"
19-
}
16+
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
2017
},
2118
// Configure tool-specific properties.
2219
"customizations": {
23-
"vscode": {
24-
"settings": {
25-
"markdown.marp.enableHtml" : true,
26-
"markdown.marp.themes": [
27-
"./slides/themes/custom-default.css"
28-
]
29-
},
20+
"vscode": {
3021
"extensions": [
3122
"GitHub.copilot",
3223
"GitHub.vscode-pull-request-github",
3324
"streetsidesoftware.code-spell-checker",
3425
"hashicorp.terraform",
3526
"ms-azuretools.vscode-azureterraform",
3627
"tfsec.tfsec",
37-
"Bridgecrew.checkov",
38-
"yzhang.markdown-all-in-one",
39-
"marp-team.marp-vscode",
40-
"bierner.markdown-mermaid"
28+
"Bridgecrew.checkov"
4129
]
4230
}
4331
},
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3+
{
4+
"name": "Slides",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7+
"features": {
8+
},
9+
// Features to add to the dev container. More info: https://containers.dev/features.
10+
// "features": {},
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
// Use 'postCreateCommand' to run commands after the container is created.
14+
// "postCreateCommand": "uname -a",
15+
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
16+
// Configure tool-specific properties.
17+
"customizations": {
18+
"vscode": {
19+
"settings": {
20+
"markdown.marp.enableHtml": true,
21+
"markdown.marp.themes": [
22+
"./slides/themes/custom.css",
23+
"./slides/themes/custom-default.css",
24+
"./slides/themes/custom-gaia.css",
25+
"./slides/themes/custom-uncover.css"
26+
]
27+
},
28+
"extensions": [
29+
"streetsidesoftware.code-spell-checker",
30+
"yzhang.markdown-all-in-one",
31+
"marp-team.marp-vscode",
32+
"bierner.markdown-mermaid",
33+
"hediet.vscode-drawio"
34+
]
35+
}
36+
}
37+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+
// "remoteUser": "root"
39+
}

0 commit comments

Comments
 (0)