mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-25 14:08:00 -05:00
* Migrate build tools to hatch * fmt * fix workflows * add tldr * simplify hatch usage and environments * add hatch to devcontainer
44 lines
1.3 KiB
JSON
44 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-outside-of-docker-compose
|
|
{
|
|
"name": "agnext devcontainer",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "devcontainer",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
// Use this environment variable if you need to bind mount your local source code into a new container.
|
|
"remoteEnv": {
|
|
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
|
|
},
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
|
"moby": true,
|
|
"installDockerBuildx": true,
|
|
"version": "latest",
|
|
"dockerDashComposeVersion": "none"
|
|
},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"installTools": true,
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers-contrib/features/hatch:2": {}
|
|
},
|
|
// 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": "bash .devcontainer/startup.sh",
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
"remoteUser": "root",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.debugpy"
|
|
]
|
|
}
|
|
}
|
|
}
|