Skip to content

Commit ddd80f0

Browse files
authored
Merge pull request #415 from nextflow-io/install-docker-in-docker-to-devcontainer
devcontainer support with docker-outside-docker
2 parents 199b91d + 45241a0 commit ddd80f0

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"name": "nfcore",
3-
"image": "nfcore/gitpod:latest",
3+
"image": "ghcr.io/nextflow-io/training:latest",
44
"remoteUser": "gitpod",
5-
6-
"postCreateCommand": "pre-commit install --install-hooks",
7-
5+
"features": {
6+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
7+
},
8+
"remoteEnv": {
9+
"NXF_HOME": "/workspaces/.nextflow",
10+
"HOST_PROJECT_PATH": "${localWorkspaceFolder}"
11+
},
812
// Configure tool-specific properties.
913
"customizations": {
1014
// Configure properties specific to VS Code.
@@ -13,12 +17,13 @@
1317
"settings": {
1418
"python.defaultInterpreterPath": "/opt/conda/bin/python"
1519
},
16-
1720
// Add the IDs of extensions you want installed when the container is created.
1821
"extensions": [
1922
"ms-python.python",
2023
"ms-python.vscode-pylance",
21-
"nf-core.nf-core-extensionpack"
24+
"nf-core.nf-core-extensionpack",
25+
"nextflow.nextflow",
26+
"codezombiech.gitignore",
2227
]
2328
}
2429
},

0 commit comments

Comments
 (0)