pypilot/.archive/.devcontainer/devcontainer.json
Luke Tainton 46e2ee6408
All checks were successful
Security / sonarqube (push) Successful in 2m48s
Security / snyk (push) Successful in 4m22s
feat(ci): fix CI, switch to self-hosted SonarQube (#310)
Reviewed-on: #310
2025-02-09 22:01:56 +01:00

32 lines
1.4 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/python
{
"name": "python3.11-poetry",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/python:1": {},
// "ghcr.io/devcontainers-contrib/features/black:2": {},
// "ghcr.io/devcontainers-contrib/features/coverage-py:2": {},
// "ghcr.io/devcontainers-contrib/features/isort:2": {},
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
// "ghcr.io/devcontainers-contrib/features/pylint:2.0.17": {}
"ghcr.io/devcontainers-contrib/features/act:1": {}
},
// 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": "pip3 install --user -r requirements.txt -r requirements-dev.txt"
"postCreateCommand": "poetry install"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}