Repository navigation
chore: enable non-interactively mode for UBI9 image - #2814
Merged
Merged
Conversation
afdesk
marked this pull request as ready for review
November 17, 2025 09:52
simar7
approved these changes
Nov 17, 2025
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.
Description
GoReleaser was failing with context deadline exceeded at the “docker images” stage:
https://github.com/aquasecurity/trivy-operator/actions/runs/19397417900/job/55499343231
The UBI9 Docker build stalled on
microdnfinstallshadow-utilsdue to an interactive confirmation prompt:This PR makes UBI9 Dockerfile Non‑Interactive and
microdnf clean allreduces the final image size and prevents stale metadata from being cached.Testing
Before:
• docker images • building docker image image=mirror.gcr.io/aquasec/trivy-operator:baa8f8eac80782428922a86d4c6c8d6762554604-ubi9-amd64 • building docker image image=mirror.gcr.io/aquasec/trivy-operator:baa8f8eac80782428922a86d4c6c8d6762554604-amd64 ⨯ release failed after 30m0s error=context deadline exceeded Error: The process '/opt/hostedtoolcache/goreleaser-action/2.4.8/x64/goreleaser' failed with exit code 1After:
Checklist