Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Docker images to UBI #6427

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pkoutsovasilis
Copy link
Contributor

@pkoutsovasilis pkoutsovasilis commented Dec 23, 2024

What does this PR do?

This PR replaces the default Ubuntu-based Docker images for Elastic-Agent with UBI-minimal-based images. It updates the packaging files, Docker templates, and configuration to ensure compatibility with UBI-minimal images. The changes involve:

  • Removal of Ubuntu-specific configurations and dependencies.
  • Addition of UBI-minimal-specific configurations to maintain functionality.

Why is it important?

Switching to UBI-minimal-based images reduces the overall footprint of the Elastic-Agent Docker images and improves compliance with enterprise standards.

Checklist

  • My code follows the style guidelines of this project
  • I have made corresponding changes to the documentation
  • I have made corresponding changes to the default configuration files
  • I have added an entry in ./changelog/fragments using the changelog tool

Disruptive User Impact

The changes should not cause any disruption for most users, as functionality is preserved. However, users relying on Ubuntu-specific dependencies in custom configurations or extensions may need to adjust their setups to ensure compatibility with UBI-minimal.

How to test this PR locally

SNAPSHOT=true PACKAGES=docker PLATFORMS="linux/arm64" EXTERNAL=true mage package

Related issues

N/A

@pkoutsovasilis pkoutsovasilis added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Dec 23, 2024
@pkoutsovasilis pkoutsovasilis self-assigned this Dec 23, 2024
Copy link
Contributor

mergify bot commented Dec 23, 2024

This pull request does not have a backport label. Could you fix it @pkoutsovasilis? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label to automatically backport to the 8./d branch. /d is the digit

Copy link
Contributor

mergify bot commented Dec 23, 2024

backport-v8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label and remove the backport-8.x label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Dec 23, 2024
@pkoutsovasilis pkoutsovasilis force-pushed the container_ubuntu_to_wolfi branch from 7dc5e0d to 9468df4 Compare December 23, 2024 13:28
@pkoutsovasilis pkoutsovasilis force-pushed the container_ubuntu_to_wolfi branch from 9468df4 to b1d8da5 Compare December 23, 2024 14:06
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@pkoutsovasilis pkoutsovasilis marked this pull request as ready for review December 24, 2024 15:21
@pkoutsovasilis pkoutsovasilis requested a review from a team as a code owner December 24, 2024 15:21
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants