mirror of
https://github.com/jonko0493/blocksdsl-min-repro.git
synced 2025-06-18 13:45:32 -04:00
39 lines
1.3 KiB
JSON
39 lines
1.3 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/docker-existing-dockerfile
|
|
{
|
|
"name": "Existing Dockerfile",
|
|
"build": {
|
|
// Sets the run context to one level up instead of the .devcontainer folder.
|
|
"context": "..",
|
|
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
|
"dockerfile": "../Dockerfile"
|
|
},
|
|
"runArgs": ["--privileged", "--add-host=host.docker.internal:host-gateway"],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.cpptools",
|
|
"ms-vscode.cpptools-extension-pack",
|
|
"ms-azuretools.vscode-docker",
|
|
"ms-python.python",
|
|
"ms-vscode.hexeditor"
|
|
]
|
|
}
|
|
},
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
// "features": {},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [3333],
|
|
|
|
// Uncomment the next line to run commands after the container is created.
|
|
"postCreateCommand": "python3 ./build.py -c -b"
|
|
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
|
|
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "devcontainer"
|
|
}
|