Repository navigation
Elasticsearch 9.4: address official images review - #398
Merged
Merged
Conversation
Apply elastic/elasticsearch#167233 and #167230 to the 9.4.10 Elasticsearch Dockerfile, as requested in the review of docker-library/official-images#22842: - drop the microdnf upgrade on top of the base image - drop the separate jdk and ML library layers
breskeby
marked this pull request as ready for review
November 24, 2026 14:06
breskeby
requested review from
navyau09 and
nkammah
and removed request for
a team
November 24, 2026 14:06
navyau09
approved these changes
Nov 25, 2026
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.
Applies the Elasticsearch changes requested by @tianon in the review of docker-library/official-images#22842 to the 9.4 Elasticsearch
Dockerfile.Changes
microdnf upgrade(Stop upgrading packages in the default Docker image elasticsearch#167233). Upgrading packages on top of the base image makes the layer non-reproducible, and the Docker Official Images don't accept it. The reason it was added, the OS trust store distrusting the roots behind the compromised eMudhra intermediate CAs, is now covered by the base image:ubi9-minimal9.9-1795198179(2026-11-20) shipsca-certificates-2026.2.92_v9.0.319-90.3.el9_8.These are hand edits to the generated file. They match what elastic/elasticsearch now generates for the Docker Hub context once the two PRs above are backported to 9.4, so the next generated "Contexts for 9.4.x" PR keeps them.
Testing
I built
elasticsearch/from this branch locally (aarch64):bin/elasticsearch --versionreports 9.4.10cacerts(the OS trust store) has 118 trusted certificates and neither distrusted root