Skip to content

Install yq only when build is custom - #539

Merged
Peter-Sh merged 1 commit into
unstablefrom
install_yq_conditionally
Jul 13, 2026
Merged

Install yq only when build is custom#539
Peter-Sh merged 1 commit into
unstablefrom
install_yq_conditionally

Conversation

@Peter-Sh

@Peter-Sh Peter-Sh commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Note

Low Risk
Build-dependency conditioning only; custom builds still get yq, and standard release builds never invoked the yaml-patching path.

Overview
yq is no longer installed for standard release/module Docker builds—only when Dockerfiles are rendered with custom_build enabled.

In alpine/Dockerfile.j2 and debian/Dockerfile.j2, yq-go / yq are wrapped in {% if custom_build %} inside the module build-deps block, matching the existing custom-build-only step that edits modules.yaml from REDISEARCH_VERSION and related build args. The checked-in alpine/Dockerfile and debian/Dockerfile are regenerated without those packages (default render uses custom_build=false).

Reviewed by Cursor Bugbot for commit cbf2c21. Bugbot is set up for automated code reviews on this repo. Configure here.

@Peter-Sh
Peter-Sh merged commit b200468 into unstable Jul 13, 2026
20 checks passed
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