- Create .devcontainer/devcontainer.json for container environment setup - Add postStartCommand.sh for provisioning system dependencies and configuration - Include .gitignore to exclude task-related files - Create .taskrc.yml to enable experimental features - Add Taskfile.yml for task management and configuration - Set up VSCode settings for integrated terminal using zsh
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"image": "ubuntu:24.04",
|
|
"containerEnv": {
|
|
"CONAN_USR": "", // need to be filled
|
|
"CONAN_PSW": "" // need to be filled,
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"toolsToInstall": "flake8,autopep8,black,yapf,mypy,pydocstyle,pycodestyle,bandit,pipenv,virtualenv,pytest,pylint,uv,copier,conan"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"git.path": "/usr/bin/git"
|
|
},
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"GitHub.copilot-chat",
|
|
"njqdev.vscode-python-typehint",
|
|
"ms-python.debugpy",
|
|
"mhutchie.git-graph",
|
|
"ms-vscode.cpptools-themes",
|
|
"tamasfe.even-better-toml",
|
|
"moshfeu.compare-folders",
|
|
"njpwerner.autodocstring",
|
|
"ms-python.black-formatter",
|
|
"ms-python.isort",
|
|
"ms-vscode.live-server",
|
|
"yzhang.markdown-all-in-one",
|
|
"bierner.markdown-mermaid",
|
|
"charliermarsh.ruff",
|
|
"shardulm94.trailing-spaces",
|
|
"redhat.vscode-yaml",
|
|
"ninoseki.vscode-mogami",
|
|
"twxs.cmake",
|
|
"cheshirekow.cmake-format",
|
|
"wholroyd.jinja"
|
|
]
|
|
}
|
|
},
|
|
"runArgs": [
|
|
"--network=host",
|
|
"-e HOST_UID=$(id -u)",
|
|
"-e HOST_GID=$(id -g)"
|
|
],
|
|
"postStartCommand": ".devcontainer/postStartCommand.sh"
|
|
}
|