Skip to content

[5.2] Bug 1915189: Update dockerfile to Ubuntu 24.04#197

Open
andrewmiskell wants to merge 3 commits into
bugzilla:5.2from
andrewmiskell:5.2-apache
Open

[5.2] Bug 1915189: Update dockerfile to Ubuntu 24.04#197
andrewmiskell wants to merge 3 commits into
bugzilla:5.2from
andrewmiskell:5.2-apache

Conversation

@andrewmiskell

@andrewmiskell andrewmiskell commented Aug 27, 2024

Copy link
Copy Markdown

Done:

  • Updated the base image to Ubuntu 24.04
  • Removed CPAN packages that had appropriate DEB packages available
  • Added optional packages to enable all features of Bugzilla (sans database-specific packages)
  • Optimized the CPAN build to clean up after itself to make the image lighter/smaller

Results:

  • Working Bugzilla 5.2 base image on Ubuntu 24.04
  • Reduction of image size by about 30% on both ARM64 and AMD64 (from ~1.6GB to ~1.1GB per docker image ls, ~1.1GB to ~765MB per dive)
  • Reduction of open vulnerabilities in the image. Verified using docker scout and snyk container scanning.

Additional Info:

@mrenvoize mrenvoize left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Confirmed working for me, clean looking update.

@andrewmiskell

Copy link
Copy Markdown
Author

Any chance on having this merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants