-
Notifications
You must be signed in to change notification settings - Fork 753
Add wave.build.template config option #6639
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
Merged
+94
−6
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
Add support for specifying build templates in Wave container builds. This allows users to select optimized multi-stage build templates like `conda/pixi/v1` or `conda/micromamba/v2` for smaller container images. Supported templates: - conda/pixi/v1: Pixi package manager with multi-stage builds - conda/micromamba/v2: Micromamba 2.x with multi-stage builds - cran/installr/v1: R/CRAN packages using installr 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Collaborator
|
Docs are already very good. Minor point, I think the default behavior could also be described in terms of how it is set. I.e., Can (or should) a user set |
Member
Author
|
Fair! add a look at latest commit |
Co-authored-by: Chris Hakkaart <chris.hakkaart@seqera.io> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Co-authored-by: Chris Hakkaart <chris.hakkaart@seqera.io> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
Update build template syntax from `<scope>/<name>/<version>` to `<scope>/<name>:<version>` to match the Wave API specification. Examples: - conda/pixi:v1 - conda/micromamba:v1 - conda/micromamba:v2 - cran/installr:v1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
bentsherman
approved these changes
Dec 12, 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.
Summary
Add support for specifying build templates in Wave container builds. This allows users to select optimized multi-stage build templates for smaller container images.
Changes
templatefield toBuildOptsinWaveConfig.groovybuildTemplate()getter method inWaveConfigbuildTemplatefield toSubmitContainerTokenRequestWaveClientto includebuildTemplatein API requestswave.build.conda.baseImageconfig option for multi-stage buildsdocs/wave.mdanddocs/reference/config.mdConfiguration
wave { enabled = true build { template = 'conda/pixi:v1' conda { baseImage = 'debian:12' // Custom base image for final stage } } }Supported Templates
conda/micromamba:v2conda/pixi:v1cran/installr:v1New Configuration Options
wave.build.templateconda/micromamba:v1wave.build.conda.baseImageubuntu:24.04Note:
wave.build.conda.baseImageonly applies when usingconda/micromamba:v2orconda/pixi:v1templates.Benefits of Multi-stage Templates
Test Plan
buildTemplateconfigurationbaseImageconfigurationtoString()test to include new fields🤖 Generated with Claude Code