chore: [release-1.9] create separate layer for techdocs dependencies …#4553
Merged
openshift-merge-bot[bot] merged 2 commits intoredhat-developer:release-1.9from Apr 8, 2026
Merged
Conversation
…and venv creation
Contributor
|
The container image build workflow finished with status: |
|
6d050a1
into
redhat-developer:release-1.9
14 checks passed
This was referenced Apr 16, 2026
3 tasks
polasudo
added a commit
to polasudo/rhdh
that referenced
this pull request
Apr 23, 2026
PR redhat-developer#4553 moved the techdocs-venv creation from the build stage into the cleanup stage, but the COPY instruction in the runner stage still referenced --from=build. This caused every image build on release-1.9 to fail since April 8 with: "failed to calculate checksum of ref: /opt/techdocs-venv: not found" Since next-* tags have a 14-day Quay expiration (quay.expires-after=14d), the last successful next-1.9 image (built April 7) expired on April 21, breaking smoke tests in the overlay repo. The fix moves the techdocs-venv RUN block back into the build stage (matching release-1.8 and main), where the python3.11 and pip dependencies from the skeleton base image are available. The COPY --from=build in the runner stage now correctly finds the venv. Co-Authored-By: Claude Opus 4.6 (1M context) <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.

…and venv creation
Description
I moved the techdocs dependencies installations from the final layer in the runner image to a new techdocs layer created. This is a cleaner implementation of brute forcing the deletion of the packages at the final layer, also slightly furthers decreasing the image size.
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer