Skip to content

[docker] Docker image with UBI base image (#15278)#15279

Merged
xfournet merged 1 commit intomasterfrom
issue/15278-ubi
May 7, 2026
Merged

[docker] Docker image with UBI base image (#15278)#15279
xfournet merged 1 commit intomasterfrom
issue/15278-ubi

Conversation

@xfournet
Copy link
Copy Markdown
Member

Proposed changes

  • create new Dockerfile using UBI base images

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

@xfournet xfournet force-pushed the issue/15278-ubi branch 2 times, most recently from c025a90 to c61e62a Compare March 30, 2026 20:21
@xfournet xfournet requested a review from Copilot March 30, 2026 20:23
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.03%. Comparing base (c0237d8) to head (8052e8e).
⚠️ Report is 2 commits behind head on master.

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     
Flag Coverage Δ
opencti-client-python 46.39% <ø> (ø)
opencti-front 2.96% <ø> (ø)
opencti-graphql 70.77% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-platform and opencti-worker.
  • Added UBI 10 Dockerfiles for opencti-platform and opencti-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.

Comment thread opencti-platform/Dockerfile_ubi9 Outdated
Comment thread opencti-platform/Dockerfile_ubi9
Comment thread opencti-platform/Dockerfile_ubi9
Comment thread opencti-platform/Dockerfile_ubi10 Outdated
Comment thread opencti-platform/Dockerfile_ubi10 Outdated
Comment thread opencti-platform/Dockerfile_ubi10 Outdated
Comment thread opencti-worker/Dockerfile_ubi10 Outdated
Comment thread opencti-worker/Dockerfile_ubi10 Outdated
@Gwendoline-FAVRE-FELIX Gwendoline-FAVRE-FELIX added the filigran team use to identify PR from the Filigran team label Apr 2, 2026
@xfournet xfournet force-pushed the issue/15278-ubi branch 4 times, most recently from 1d51c31 to 9f00172 Compare May 6, 2026 23:40
@xfournet xfournet force-pushed the issue/15278-ubi branch from 9f00172 to 8052e8e Compare May 7, 2026 00:05
@xfournet xfournet merged commit 5d5d05c into master May 7, 2026
25 of 27 checks passed
@xfournet xfournet deleted the issue/15278-ubi branch May 7, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support UBI 9 as base image for platform and worker Docker images

3 participants