-
Notifications
You must be signed in to change notification settings - Fork 348
Expand file tree
/
Copy pathdevcontainer.json
More file actions
54 lines (47 loc) · 1.31 KB
/
devcontainer.json
File metadata and controls
54 lines (47 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "Jenkins Quickstart Tutorials",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "v27.0.3",
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "v2.83.1"
}
},
"onCreateCommand": "bash .devcontainer/setup.sh",
"postStartCommand": "cat .devcontainer/welcome.txt 2>/dev/null || echo 'Run: .devcontainer/setup.sh for tutorial instructions'",
"forwardPorts": [8080, 3000, 5000],
"portsAttributes": {
"8080": {
"label": "Jenkins Controller",
"onAutoForward": "openBrowser",
"protocol": "http",
"visibility": "public"
},
"3000": {
"label": "Application Port (Node/Android/Go)",
"onAutoForward": "notify",
"protocol": "http"
},
"5000": {
"label": "Application Port (Multi/.NET)",
"onAutoForward": "notify",
"protocol": "http"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"redhat.vscode-yaml"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
}
}
},
"remoteUser": "vscode",
"updateContentCommand": "echo 'Container updated successfully'"
}