|
| 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/javascript-node |
| 3 | +{ |
| 4 | + "name": "Node.js", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/javascript-node:0-16", |
| 7 | + "customizations": { |
| 8 | + "vscode": { |
| 9 | + "settings": { |
| 10 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 11 | + "workbench.editorAssociations": { |
| 12 | + "*.md": "vscode.markdown.preview.editor" |
| 13 | + } |
| 14 | + }, |
| 15 | + "extensions": ["learn-pack.learnpack-vscode"] |
| 16 | + } |
| 17 | + }, |
| 18 | + |
| 19 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 20 | + // "features": {}, |
| 21 | + |
| 22 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 23 | + // "forwardPorts": [], |
| 24 | + |
| 25 | + "onCreateCommand": "pip3 install pytest==4.6.0 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0" |
| 26 | + |
| 27 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 28 | + // "postCreateCommand": "yarn install", |
| 29 | + |
| 30 | + // Configure tool-specific properties. |
| 31 | + // "customizations": {}, |
| 32 | + |
| 33 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 34 | + // "remoteUser": "root" |
| 35 | +} |
0 commit comments