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

Fix vulnerabilities for msopenjdk 11 pinot-base-runtime image. #14030

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

Conversation

abhioncbr
Copy link
Collaborator

As per the issue, This PR tries to fix all the vulnerabilities based on the Ubuntu OS version. Using the newer version of the Ubuntu 24.10(reference), with 0 vulnerabilities.

Docker scout for the image build using the command

$  docker build -t  apachepinot/pinot-base-runtime:11-ms-openjdk -f docker/images/pinot-base/pinot-base-runtime/ms-openjdk.dockerfile . --no-cache

$ docker scout quickview                                                                                                         (sbx/consumer)
    i New version 1.13.0 available (installed version is 1.11.0) at https://github.com/docker/scout-cli
    ✓ Image stored for indexing
    ✓ Indexed 242 packages

    i Base image was auto-detected. To get more accurate results, build images with max-mode provenance attestations.
      Review docs.docker.com ↗ for more information.
      
  Target     │  local://apachepinot/pinot-base-runtime:17-ms-openjdk  │    0C     0H     0M     0L   
    digest   │  60f9e6fdfb01                                          │                              
  Base image │  ubuntu:24.10                                          │    0C     0H     0M     0L   


FROM ubuntu:24.10
ENV LANG=en_US.UTF-8
ENV JAVA_HOME=/usr/lib/jvm/msopenjdk-11
Copy link
Contributor

Choose a reason for hiding this comment

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

this directory might change based on JAVA_VERSION right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, we can make it configurable based on JAVA_VERSION. Let me make the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants