PyZipline/.devcontainer/devcontainer.json
cswimr 9d81ab38dd
Some checks failed
Actions / Build (push) Successful in 13s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 14s
Actions / Build Documentation (MkDocs) (push) Successful in 22s
feat: enable docker in docker in the devcontainer
2025-01-29 10:59:02 +00:00

34 lines
948 B
JSON

{
"name": "PyZipline",
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.python",
"tekumara.typos-vscode",
"tamasfe.even-better-toml",
"redhat.vscode-yaml",
"DavidAnson.vscode-markdownlint",
"aaron-bond.better-comments",
"donjayamanne.githistory",
"eamodio.gitlens"
]
}
},
"containerEnv": {
"DISPLAY": "dummy",
"PYTHONUNBUFFERED": "True",
"UV_LINK_MODE": "copy",
"UV_PYTHON_PREFERENCE": "only-system",
"UV_PYTHON_DOWNLOADS": "never",
"PROJECT_DIR": "/workspaces/${localWorkspaceFolderBasename}"
},
"postCreateCommand": "uv sync --frozen",
"remoteUser": "vscode"
}