Repository navigation
Pinned R image: R 4.6.2, Bioconductor 3.24, dada2 1.42.0 (#76) - #79
Merged
Merged
Conversation
- Base on rocker/tidyverse:4.6.2 pinned by digest (was rocker/verse:4.5.1);
QC PDFs need no LaTeX
- Pin CRAN to a dated P3M snapshot (rocker's 4.6.2 tag still tracks `latest`)
- New versions.env is the single source of versions: CI passes it as build
args and tags the image r<R>-dada2-<dada2> from docker/* branches
- install.R fails the build unless R, Bioconductor, CRAN snapshot, dada2,
DECIPHER and phangorn match the pinned versions
- Add jsonlite and scales for dada2-rs reference/helper scripts
- Drop `apt-get upgrade`; libncurses5-dev -> libncurses-dev (Ubuntu 26.04);
use libcurl4-openssl-dev already in the base instead of the gnutls variant
- Write provenance to /opt/tada/{versions.txt,session_info.txt,packages.tsv}
- CI: set up buildx; build without pushing on PRs touching the image
Refs #29, HPCBio/dada2-rs#370
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The key pattern [A-Z_]+ skipped DADA2_VERSION, so the build arg was missing and the versioned tag was 'r4.6.2-dada2-'. Also fail the version-reading step if any required key is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed libs phangorn -> igraph; P3M's igraph binary links libglpk.so.40, which the base lacks, so library(phangorn) failed. install.R now runs ldd over all installed R shared objects and lists every missing library in one go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base R's tcltk links Tcl/Tk, which rocker omits on purpose; RcppParallel's tbbmalloc_proxy loads libtbbmalloc from its own lib/ dir at runtime. Neither is a real gap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Switch the 35 local R modules and the mmseqs_profile_filter subworkflow from ghcr.io/hpcbio/tada:docker-DADA-1.36 to ghcr.io/hpcbio/tada:r4.6.2-dada2-1.42.0, pinned by digest (sha256:e7fd9fe1...) so every result maps to one image. Also silence the BuildKit InvalidDefaultArgInFrom warning; the base image args intentionally come from versions.env. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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.
Summary
Implements #76: a single, version-pinned R image for TADA's R steps and the dada2-rs R references. All R modules now use it, pinned by digest.
Image:
ghcr.io/hpcbio/tada:r4.6.2-dada2-1.42.0@sha256:e7fd9fe12c50c5036e117763a14be60544143321c2a0831dc7a792c53e2a143e(built from
docker/r4.6.2-dada2-1.42.0, run 46314650442)rocker/tidyverse:4.6.2, pinned by digest (wasrocker/verse:4.5.1)Changes
Image (
dockerfiles/R/)versions.env(new) holds every pinned version in one place. CI passes it as build args and derives the tagr<R>-dada2-<dada2>from it.versions.env.latest, because rocker only freezes a tag's snapshot once the next R version is released.apt-get upgraderemoved. Ubuntu 26.04 changes:libncurses5-dev→libncurses-dev,libglpk-devadded (P3M's igraph binary, pulled in by phangorn), and the base image's OpenSSL libcurl used instead of GnuTLS.lddcheck fails the build if any installed R shared library has an unresolved system dependency, listing all of them at once.jsonliteandscalesadded for dada2-rs helper scripts./opt/tada/versions.txt,session_info.txtandpackages.tsv.CI (
docker-ci.yml)versions.env, sets up buildx, and test-builds without pushing on PRs that touch the image.docker/*branches, so release rebuilds can't overwrite it.release: publishedtrigger, which built the same tags a second time after thev*tag push.Modules
mmseqs_profile_filtersubworkflow move fromdocker-DADA-1.36to the new image, pinned by tag and digest. The old image stays published.Testing
testprofile passed on Nextflow 25.10.4 with the new image and the old dog stool data (run 46316936443).Notes
versions.envis updated. That failure is intended.snapshot.ubuntu.comcould close that gap if needed.docker/*branch rebuilds the image and gives the tag a new digest, which is why modules pin the digest.Closes #76 once HPCBio/dada2-rs#370 has regenerated its reference in this image. Refs #29, #78.
🤖 Generated with Claude Code