Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d5e9f20
Add devcontainer setup from nf-core/tools for testing. Move nf-test i…
JulianFlesch Jul 15, 2025
bea2990
Add the default user again at the end
JulianFlesch Jul 15, 2025
b9da8dd
Move nf-test install to unprivileged location and add WORKDIR. Add pi…
JulianFlesch Jul 15, 2025
b4d2a9d
Move Dockerfile
JulianFlesch Jul 15, 2025
aa21f50
Remove docker-in-docker interfering with docker-outside-docker from p…
JulianFlesch Jul 16, 2025
6ce11be
Fix arm profile
JulianFlesch Jul 16, 2025
f692cdb
Remove apptainer install
JulianFlesch Jul 16, 2025
26aeee4
Remove efforts for unprivileged user
JulianFlesch Jul 16, 2025
37907b9
Use root user by default
JulianFlesch Jul 16, 2025
e8ccbc2
update welcome message. update prompt
JulianFlesch Jul 16, 2025
d3e74c8
Remove explicitly setting NFT_WORKDIR
JulianFlesch Jul 16, 2025
d841327
Add nf-test as local feature
JulianFlesch Jul 16, 2025
d50d647
Remove Dockerfile in favor of features
JulianFlesch Jul 16, 2025
c4b8200
Remove env vars
JulianFlesch Jul 16, 2025
d2575d7
Add apptainer as local feature
JulianFlesch Jul 16, 2025
a10a20d
Fix install
JulianFlesch Jul 16, 2025
596564a
Fix install script for apptainer by installing dependencies first
JulianFlesch Jul 16, 2025
b0ee9b6
Fix install script for apptainer by installing dependencies first
JulianFlesch Jul 16, 2025
e63ccc1
Update local feature to have version, name, id
JulianFlesch Jul 17, 2025
4725782
Merge branch 'master' of github.com:nf-core/modules
JulianFlesch Sep 2, 2025
c5b33e2
ftr: new devcontainer config
JulianFlesch Sep 2, 2025
b6f5772
Remove redundant tools install
JulianFlesch Sep 2, 2025
22ff761
Remove local features. Already installed in parent image
JulianFlesch Sep 2, 2025
0e9c88e
Testing: Change to pulling image from controlled location for testing…
JulianFlesch Sep 2, 2025
e41cb52
fix: set executable bit flag to run setup.sh
JulianFlesch Sep 2, 2025
321f037
merge
JulianFlesch Sep 11, 2025
ce2bfb1
Merge branch 'master' into feature/new-devcontainers
JulianFlesch Sep 11, 2025
4e14392
Change to final container image
JulianFlesch Sep 11, 2025
f56fdc4
Bumpy hostRequirements to run in more powerful instance in Codespaces
JulianFlesch Sep 11, 2025
2d6975e
Merge branch 'master' into feature/new-devcontainers
JulianFlesch Oct 17, 2025
bc7a9c1
Switch to using dev tag of our nf-core/devcontainer
JulianFlesch Oct 29, 2025
6587a87
Merge branch 'feature/new-devcontainers' of github.com:JulianFlesch/m…
JulianFlesch Oct 29, 2025
cdf4f27
Merge branch 'master' into feature/new-devcontainers
JulianFlesch Oct 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 15 additions & 23 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:dev",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true
},
"name": "nfcore-modules",
"image": "nfcore/devcontainer:dev",

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["nf-core.nf-core-extensionpack"]
}
"remoteEnv": {
// Workspace path on the host for mounting with docker-outside-of-docker
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1.0.11": {
"digest": "sha256:464564228ccdd6028f01f8a62a3cfbaf76e9ba7953b29ac0e53ba2c262604312"
},
"ghcr.io/devcontainers/features/docker-in-docker:2.9.2": {
"digest": "sha256:9074d8eaf4585ab1498c81a8762078992725614fc7a9cfafe799aa22717a6bbf"
}

"onCreateCommand": "./.devcontainer/setup.sh",

"remoteUser": "root",
"privileged": true,

"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
15 changes: 15 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Customise the terminal command prompt
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '

# Update Nextflow
nextflow self-update

# Install pre-commit hooks
pre-commit install --install-hooks

# Update welcome message
echo "Welcome to nf-core/modules devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
Loading