Skip to content

Commit 7d06a73

Browse files
authored
Merge pull request #3835 from JulianFlesch/fix/template-devcontainer
2 parents 1ebee76 + 4ff5df7 commit 7d06a73

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# nf-core/tools: Changelog
22

3+
## [v3.4.1 - Ducol Dingo Patch 1](https://github.com/nf-core/tools/releases/tag/3.4.0) - [2025-10-10]
4+
5+
### Template
6+
7+
- Fix devcontainer configuration for pipeline template [3835](https://github.com/nf-core/tools/pull/3835)
8+
39
## [v3.4.0 - Ducol Dingo](https://github.com/nf-core/tools/releases/tag/3.4.0) - [2025-10-10]
410

511
**Highlights**

nf_core/pipeline-template/.devcontainer/devcontainer.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@
55
"remoteUser": "root",
66
"privileged": true,
77

8-
// Mount full current path to make mounting into docker-outside-of-docker work
9-
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind",
10-
"workspaceFolder": "${localWorkspaceFolder}"
8+
"remoteEnv": {
9+
// Workspace path on the host for mounting with docker-outside-of-docker
10+
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
11+
},
12+
13+
"onCreateCommand": "./.devcontainer/setup.sh",
14+
15+
"hostRequirements": {
16+
"cpus": 4,
17+
"memory": "16gb",
18+
"storage": "32gb"
19+
}
1120
}

nf_core/pipeline-template/.devcontainer/setup.sh

100644100755
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env bash
22

3+
# Customise the terminal command prompt
4+
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
5+
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
6+
export PROMPT_DIRTRIM=2
7+
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '
8+
9+
# Update Nextflow
10+
nextflow self-update
11+
312
# Update welcome message
413
echo "Welcome to the {{ name }} devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import find_packages, setup
44

5-
version = "3.4.0"
5+
version = "3.4.1"
66

77
with open("README.md") as f:
88
readme = f.read()

0 commit comments

Comments
 (0)