Skip to content

Add multi-platform SPAdes container support with pigz - #1587

Open
asuq wants to merge 2 commits into
ablab:mainfrom
asuq:add-dockerfile-pigz
Open

Add multi-platform SPAdes container support with pigz#1587
asuq wants to merge 2 commits into
ablab:mainfrom
asuq:add-dockerfile-pigz

Conversation

@asuq

@asuq asuq commented Aug 1, 2026

Copy link
Copy Markdown

Hello SPAdes maintainers,

This is intended to supersede #1343. Thank you to @sbassi for proposing the original Dockerfile.

Includes pigz so SPAdes can use the configured thread count when compressing corrected reads in containerised HPC workloads.

CI validates the AMD64 and ARM64 images with the bundled assembly test and confirms that pigz is selected. The checks are currently awaiting maintainer approval to run.

Thank you for maintaining SPAdes and considering this contribution.

asuq added 2 commits August 1, 2026 15:25
Build the checked-out SPAdes source in an Ubuntu 24.04 builder and copy only the installed toolkit into the runtime stage. The release project set and NCBI SRA support match the upstream release build configuration.\n\nInstall pigz so corrected-read compression can use the thread count supplied to SPAdes. Run the final image as an unprivileged user from a writable work directory while keeping the full SPAdes toolkit on PATH.\n\nValidation: git diff --cached --check. Image builds and runtime smoke tests are added in the follow-up container CI commit because no local container daemon is available.
Build and load the SPAdes image on native Linux AMD64 and ARM64 GitHub-hosted runners for the same non-documentation events as the existing test suite. Architecture-scoped layer caches reduce repeated source-build cost without publishing an image.\n\nCheck the embedded version, unprivileged writable runtime, pigz availability, absence of build tools, and the bundled SPAdes assembly test. The smoke test also verifies that corrected-read compression selected pigz.\n\nValidation: workflow YAML syntax parsed successfully and git diff --cached --check passed. Runtime validation is performed by this workflow because no local container daemon is available.
@asuq asuq changed the title feat(container): add source-built Docker image with pigz Add multi-platform SPAdes container support with pigz Aug 1, 2026
@asuq
asuq marked this pull request as ready for review August 1, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant