Skip to content

Commit 04d9d4a

Browse files
author
Samuel Alejandro Maldonado Garcia
committed
Initial commit
0 parents  commit 04d9d4a

File tree

5,629 files changed

+534318
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,629 files changed

+534318
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# From https://github.com/microsoft/vscode-dev-containers/blob/master/containers/go/.devcontainer/Dockerfile
2+
ARG VARIANT="21-jdk-bookworm"
3+
FROM mcr.microsoft.com/vscode/devcontainers/java:${VARIANT}

.devcontainer/devcontainer.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
2+
{
3+
"name": "Java",
4+
"build": {
5+
"dockerfile": "Dockerfile",
6+
"args": {
7+
// Update the VARIANT arg to pick a version of Java
8+
"VARIANT": "21-jdk-bookworm",
9+
}
10+
},
11+
"containerEnv": {
12+
"PBS_GDPR_DEFAULT_VALUE": "0"
13+
},
14+
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
15+
16+
// Set *default* container specific settings.json values on container create.
17+
"customizations": {
18+
"vscode": {
19+
"settings": {
20+
"terminal.integrated.profiles.linux": {
21+
"bash": {
22+
"path": "/usr/bin/bash"
23+
}
24+
},
25+
"terminal.integrated.defaultProfile.linux": "bash",
26+
},
27+
28+
// Add the IDs of extensions you want installed when the container is created.
29+
"extensions": [
30+
"ms-azuretools.vscode-docker",
31+
"redhat.vscode-xml",
32+
"redhat.vscode-yaml",
33+
"eamodio.gitlens",
34+
"vscjava.vscode-java-pack"
35+
]
36+
}
37+
},
38+
39+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
40+
"forwardPorts": [8000,8001,6060],
41+
42+
// Use 'postCreateCommand' to run commands after the container is created.
43+
"postCreateCommand": "mkdir ~/.ssh; ssh-keyscan github.com > ~/.ssh/known_hosts",
44+
45+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
46+
"remoteUser": "vscode"
47+
}

0 commit comments

Comments
 (0)