Skip to content

Commit f5aca21

Browse files
committed
new devcontainer to strart from pre-built image
1 parent 956c0c7 commit f5aca21

1 file changed

Lines changed: 6 additions & 68 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 6 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,15 @@
11
{
2-
"name": "CyberSecurity Lab Environment",
3-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4-
5-
"features": {
6-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
7-
"ghcr.io/devcontainers/features/git:1": {},
8-
"ghcr.io/devcontainers/features/python:1": {
9-
"version": "3.11"
10-
},
11-
"ghcr.io/devcontainers/features/node:1": {
12-
"version": "lts"
13-
},
14-
"ghcr.io/devcontainers/features/java:1": {
15-
"version": "23"
16-
},
17-
"ghcr.io/devcontainers/features/ruby:1": {
18-
"version": "latest"
19-
},
20-
"ghcr.io/devcontainers/features/common-utils:2": {
21-
"installZsh": true,
22-
"installOhMyZsh": true,
23-
"upgradePackages": true
24-
}
25-
},
26-
2+
"name": "Cybersecurity & Reverse Engineering Tools",
3+
"image": "ghcr.io/code-vinci/cybersecurity-codespace:latest",
274
"customizations": {
285
"vscode": {
296
"extensions": [
307
"ms-python.python",
31-
"ms-python.vscode-pylance",
32-
"ms-azuretools.vscode-docker",
33-
"ms-vscode.hexeditor",
34-
"github.copilot",
8+
"ms-vscode.cpptools",
359
"eamodio.gitlens"
36-
],
37-
"settings": {
38-
"terminal.integrated.defaultProfile.linux": "bash",
39-
"python.defaultInterpreterPath": "/usr/local/bin/python",
40-
"files.associations": {
41-
"*.sh": "shellscript"
42-
}
43-
}
10+
]
4411
}
4512
},
46-
47-
"postCreateCommand": "bash .devcontainer/setup.sh",
48-
49-
"remoteUser": "vscode",
50-
51-
"runArgs": [
52-
"--cap-add=SYS_PTRACE",
53-
"--security-opt",
54-
"seccomp=unconfined"
55-
],
56-
57-
"mounts": [
58-
"source=${localWorkspaceFolder}/.devcontainer,target=/workspace/.devcontainer,type=bind"
59-
],
60-
61-
"forwardPorts": [
62-
8080,
63-
3000,
64-
5000
65-
],
66-
67-
"portsAttributes": {
68-
"8080": {
69-
"label": "Application",
70-
"onAutoForward": "notify"
71-
},
72-
"3000": {
73-
"label": "Web Server",
74-
"onAutoForward": "notify"
75-
}
76-
}
13+
"forwardPorts": [8080, 5000, 3000],
14+
"remoteUser": "vscode"
7715
}

0 commit comments

Comments
 (0)