|
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu |
| 3 | +{ |
| 4 | + |
| 5 | + // "build": { |
| 6 | + // "dockerfile": "Dockerfile", |
| 7 | + // Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04 |
| 8 | + // Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon. |
| 9 | + // "args": { "VARIANT": "ubuntu-22.04" } |
| 10 | + // }, |
| 11 | + |
| 12 | + // Configure tool-specific properties. |
| 13 | + "customizations": { |
| 14 | + "vscode": { |
| 15 | + "extensions": [ |
| 16 | + "DavidAnson.vscode-markdownlint", |
| 17 | + "EA31337.vscode-mql-tools", |
| 18 | + "ms-vscode.cpptools", |
| 19 | + "ms-vscode.cpptools-extension-pack", |
| 20 | + "nicholishen.mql-over-cpp", |
| 21 | + "vscodevim.vim", |
| 22 | + "xaver.clang-format", |
| 23 | + "GitHub.copilot", |
| 24 | + "GitHub.copilot-chat" |
| 25 | + ] |
| 26 | + } |
| 27 | + }, |
| 28 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 29 | + "features": { |
| 30 | + "ghcr.io/devcontainers-contrib/features/actionlint:1": {}, |
| 31 | + "ghcr.io/devcontainers-contrib/features/node-asdf:0": {}, |
| 32 | + "ghcr.io/devcontainers-extra/features/pipx-package:1": {}, |
| 33 | + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
| 34 | + "ghcr.io/devcontainers/features/python:1": {}, |
| 35 | + "ghcr.io/guiyomh/features/vim:0": {}, |
| 36 | + "ghcr.io/jungaretti/features/make:1": {}, |
| 37 | + "ghcr.io/prulloac/devcontainer-features/pre-commit:1": {}, |
| 38 | + "ghcr.io/jungaretti/features/ripgrep:1": {} |
| 39 | + // "ghcr.io/maks1ms/devcontainers-features/wine:0": {} |
| 40 | + }, |
| 41 | + |
| 42 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 43 | + // "forwardPorts": [], |
| 44 | + |
| 45 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 46 | + // "postCreateCommand": "uname -a", |
| 47 | + |
| 48 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 49 | + "image": "mcr.microsoft.com/devcontainers/base:jammy", |
| 50 | + |
| 51 | + "postCreateCommand": "pip install -r .devcontainer/requirements.txt", |
| 52 | + |
| 53 | + // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 54 | + "remoteUser": "vscode", |
| 55 | + "onCreateCommand": "sudo apt update && sudo apt install -y pipx && pipx install --include-deps ansible" |
| 56 | +} |
0 commit comments