[docker] Docker image with UBI base image (#15278)#15279
Merged
Conversation
c025a90 to
c61e62a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #15279 +/- ##
==========================================
- Coverage 34.03% 34.03% -0.01%
==========================================
Files 3205 3205
Lines 218398 218398
Branches 40463 40461 -2
==========================================
- Hits 74324 74321 -3
- Misses 144074 144077 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds new Docker build definitions to support Red Hat Universal Base Image (UBI) as alternative base images for the OpenCTI platform and worker containers.
Changes:
- Added UBI 9 Dockerfiles for
opencti-platformandopencti-worker. - Added UBI 10 Dockerfiles for
opencti-platformandopencti-worker. - Added a helper script to build (and optionally push) UBI 9 images.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| opencti-worker/Dockerfile_ubi9 | Introduces a UBI 9-based worker image using dnf + Python 3.12. |
| opencti-worker/Dockerfile_ubi10 | Introduces a UBI 10 minimal-based worker image using microdnf + Python 3. |
| opencti-platform/Dockerfile_ubi9 | Introduces a multi-stage UBI 9 platform build (backend + frontend) and runtime image. |
| opencti-platform/Dockerfile_ubi10 | Introduces a multi-stage UBI 10 minimal platform build (backend + frontend) and runtime image. |
| build_ubi9.sh | Adds a local build/push script for producing UBI 9 platform + worker images. |
fb1bd50 to
629a5aa
Compare
629a5aa to
ba07480
Compare
1d51c31 to
9f00172
Compare
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.
Proposed changes
Related issues
Checklist