|
| 1 | +// |
| 2 | +// MAIN PRODUCTION DEVCONTAINER CONFIG |
| 3 | +// Uses image that is pre-built and pushed to GitHub |
| 4 | +// See .github/.devcontainer/devcontainer.json for build |
| 5 | +// |
1 | 6 | { |
2 | | - "name": "nfcore", |
3 | | - "image": "nfcore/gitpod:latest", |
4 | | - "remoteUser": "gitpod", |
5 | | - "runArgs": ["--privileged"], |
6 | | - |
7 | | - // Configure tool-specific properties. |
| 7 | + "name": "nf-aggregate", |
| 8 | + "image": "ghcr.io/nextflow-io/training:latest", |
| 9 | + "workspaceFolder": "/workspaces/nf-aggregate", |
| 10 | + "remoteUser": "root", |
| 11 | + "remoteEnv": { |
| 12 | + // Nextflow installation version |
| 13 | + "NXF_HOME": "/workspaces/.nextflow", |
| 14 | + "NXF_EDGE": "0", |
| 15 | + "NXF_VER": "24.10.4", |
| 16 | + // Other env vars |
| 17 | + "HOST_PROJECT_PATH": "/workspaces/nf-aggregate", |
| 18 | + "SHELL": "/bin/bash" // Ush bash |
| 19 | + }, |
| 20 | + "onCreateCommand": "bash .devcontainer/setup.sh", |
8 | 21 | "customizations": { |
9 | | - // Configure properties specific to VS Code. |
10 | 22 | "vscode": { |
11 | | - // Set *default* container specific settings.json values on container create. |
| 23 | + "extensions": ["nf-core.nf-core-extensionpack"], |
| 24 | + // Use Python from conda |
12 | 25 | "settings": { |
13 | 26 | "python.defaultInterpreterPath": "/opt/conda/bin/python" |
14 | 27 | }, |
15 | | - |
16 | | - // Add the IDs of extensions you want installed when the container is created. |
17 | | - "extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"] |
| 28 | + // Use bash |
| 29 | + "terminal.integrated.defaultProfile.linux": "bash" |
18 | 30 | } |
19 | 31 | } |
20 | 32 | } |
0 commit comments