mirror of https://github.com/mingrammer/diagrams
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
// 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-outside-of-docker
|
|
{
|
|
"name": "Diagrams",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
// "image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
|
"build":{
|
|
"dockerfile": "../docker/dev/Dockerfile"
|
|
},
|
|
|
|
// Use this environment variable if you need to bind mount your local source code into a new container.
|
|
// "remoteEnv": {
|
|
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
|
|
// }
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "docker --version",
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.debugpy",
|
|
"mhutchie.git-graph",
|
|
"mutantdino.resourcemonitor",
|
|
"tehpeng.diagramspreviewer"
|
|
]
|
|
}
|
|
}
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/usr/src/diagrams,type=bind",
|
|
"workspaceFolder": "/usr/src/diagrams"
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|