-
Notifications
You must be signed in to change notification settings - Fork 3
Devcontainer: use prebuilt GHCR image + conda/mamba Bioconductor env for fast Codespaces (R 4.3) #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… env in case of a restart
…1.81.0-1, ggplot2 4.0.0, ggtree 3.99.0, and ggiraph 0.9.1
…sea and the proper ubuntu libraries necessary to install qsea
… install GenomeInfoDb and other packages necessary for qsea
…d a package list generator script
…devcontainer without conflicts
… specify workspaceFolder and check that remotes package is install before executing remotes::install_local
…reated the env with --override-channels, and switched the shell into shiny_env before CRAN/GitHub installs
…ward 3838, keep postCreate install
… R to PATH, install languageserver/imsig/immunedeconv, create vscode user, clean caches
…age and remoteUser=vscode
…ATH, install languageserver/imsig/immunedeconv, add vscode user
Collaborator
|
We don't want to target ggplot2 v3, we want the package to work on v4 |
636cae2 to
8b2c6df
Compare
…t.{slim,full}; install devtools helpers; put mesa_env on PATH; install remotes/languageserver/imsig/immunedeconv
… mesa_env R; set plot size; keep postCreate install
…; tag latest -> codespaces-slim; enable registry cache
SPPearce
reviewed
Nov 10, 2025
…f not having Anaconda's paid license
f1d3010 to
3d74868
Compare
- Drop unused package_list.txt/generate_package_list.R from workflow paths - Rebuild images on codespace_env_implementation, dev, and main
09362b5 to
72e1785
Compare
SPPearce
approved these changes
Nov 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR improves the dev environment to deliver fast, reproducible Codespaces by pulling a prebuilt GHCR image and standardizing on a conda/mamba-based R/Bioconductor stack.
This includes:
• Devcontainer
○ Use prebuilt image: ghcr.io//mesa/devcontainer:codespace_env_implementation
○ Run as non-root vscode user
○ Keep postCreateCommand to install the local package
• Dockerfile (image build)
○ Base: miniconda3 with mamba
○ Create mesa_env from package_list.txt
○ Only conda-forge + bioconda, strict priority, --override-channels
○ Add env to PATH so R is available without activation
○ Preinstall: languageserver, imsig, omnideconv/immunedeconv
○ Create vscode user; clean conda/mamba caches
• Deps generation
○ generate_package_list.R: map Bioconductor/CRAN properly, drop base R stdlib
○ Correct mappings (e.g., limma/plyranges → bioconductor-, workflows → r-)
○ Target R 4.3 (with ggplot2<4)
• CI
○ Workflow builds & pushes the image for this branch/tag
• Cleanup
○ Removed old Dockerfiles to avoid conflicts
○ Added verbose mamba where useful for debugging