43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
|
|
{
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"http_proxy": "http://host.docker.internal:3142",
|
|
},
|
|
"options": [
|
|
"--add-host=host.docker.internal:host-gateway"
|
|
],
|
|
},
|
|
"runArgs": [
|
|
"--add-host=host.docker.internal:host-gateway"
|
|
],
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
|
|
],
|
|
"remoteUser": "root",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"redhat.vscode-quarkus",
|
|
"vscjava.vscode-java-pack",
|
|
"redhat.vscode-xml",
|
|
"esbenp.prettier-vscode",
|
|
"PeterSchmalfeldt.explorer-exclude",
|
|
"redhat.java",
|
|
"ryanluker.vscode-coverage-gutters"
|
|
]
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"TESTCONTAINERS_RYUK_DISABLED": "true",
|
|
"QUARKUS_DEBUG_HOST": "0.0.0.0",
|
|
"http_proxy": "http://host.docker.internal:3142"
|
|
},
|
|
"postCreateCommand": "git config --global --add safe.directory '*'",
|
|
"forwardPorts": [
|
|
5005,
|
|
8080
|
|
]
|
|
} |