Arthur
06/02/2026, 1:44 AM1.84 GB community.wave.seqera.io/library/jasminesv
271.18 MB quay.io/biocontainers/jasminesv
2.22 GB manual-build-seqera-dockerfile
Over the course of a whole pipeline with many steps this could amount to hundreds of gigabytes of extra container pulls (assuming similar size diffs between all seqera containers and biocontainers.
I also don’t understand why manually building the container based on the seqera containers Dockerfile definition from the build page results in a container which is over 20% larger?Thomas Danhorn
06/02/2026, 2:59 AMdu where most of the megabytes are). If the `Dockerfile`s are available, you can see if anything is obviously different between them. One issue with Docker is that could can fairly easily modify the container and delete or add things that may not be listed in the Dockerfile. And if the "recipe" for building is not strict on version requirements, your manual build may contain the newest packages for lots of things, which may well be larger than older versions. (I don't even want to think about environment variables, etc., that may influence what gets installed or how things get compiled [e.g. adding or stripping debug info].) I don't know anything about jasminesv, but some containers contain data (e.g. reference files), while others don't. Some might have additional tools or OS packages that may be bloat or maybe useful on occasion. Sometimes they do contain things you might consider useless crap, e.g. I just looked at one of our containers with R packages, and it contains no less than 3.5 GB of cache from the package manager renv. (Of course, if packages are disappearing from Bioconductor, etc., such things might be needed to faithfully reconstruct the container, but when running it they just take up space.)Arthur
06/02/2026, 4:06 AM/opt/conda/pkgs but weirdly du produces inconsistent results in that folder in the same container. One call it will say something is 400M the next it will be 800M - very weird.
For the Seqera vs Biocontainers it seems like there is no real conda pkgs overhead and I guess I'm wondering if the Seqera containers could be more aggressively pruned? A 2GB difference in container size (~10x) is really insane given they both purport to build the same conda pkgThomas Danhorn
06/02/2026, 5:41 AM--apparent-size makes a difference for du? There is nothing from the outside mounted to the container while you are doing that, I presume ... If that persists, you could do something like ls -lR every few seconds to see if anything changes (and what).
I actively try to avoid Conda whenever I can (bad experiences the first time I tried using it -- inability to install stuff because it could not find a way through dependency hell, while wasting hours trying), so I have little experience with it, but I didn't think it had a ton of overhead if you just install one environment/set of packages.
I wonder if some containers have stronger compression than others. 🤔Matthieu Muffato
06/02/2026, 12:17 PMweirdlySome filesystems do compression, deduplication, etc, in the background. I’ve had the case whereproduces inconsistent results in that folder in the same container. One call it will say something is 400M the next it will be 800M - very weird.du
du would successively print different sizes, especially if other processes in parallel would ls or cat the file. That’s because du was returning the actual size on disk as reported by the filesystem, Adding --apparent-size solved it for my purposeArthur
06/02/2026, 12:30 PMPhil Ewels
06/02/2026, 10:29 PMDockerfile and the other details on the wave build URLPhil Ewels
06/02/2026, 10:29 PMPhil Ewels
06/02/2026, 10:30 PMArthur
06/03/2026, 2:55 AMFROM mambaorg/micromamba:1.5.10-noble
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
RUN micromamba install -y -n base -f /tmp/conda.yml \
&& micromamba install -y -n base conda-forge::procps-ng \
&& micromamba env export --name base --explicit > environment.lock \
&& echo ">> CONDA_LOCK_START" \
&& cat environment.lock \
&& echo "<< CONDA_LOCK_END" \
&& micromamba clean -a -y
USER root
ENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"Phil Ewels
06/03/2026, 5:57 AMArthur
06/04/2026, 1:30 AM1.51 GB. I don’t really know enough about how the biocontainers are actually built (and weirdly although the jasminesv one is on their registry and definitely exists I can find no entry for it on GitHub) but I do think that the much smaller size makes me a bit cautious about wholesale moving to the Seqera containers.Phil Ewels
06/04/2026, 7:52 AMbusybox base image, which is a very bare bones onePhil Ewels
06/04/2026, 7:53 AMps and curl and stuffPhil Ewels
06/04/2026, 7:54 AMPhil Ewels
06/04/2026, 7:54 AMalpine or similar. Should work fine and might save you a few hundred MBsArthur
06/04/2026, 9:13 AMPhil Ewels
06/04/2026, 12:17 PMmashehu
06/04/2026, 1:34 PM