Skip to content

Elasticsearch 9.5: address official images review - #397

Merged
navyau09 merged 1 commit into
elastic:9.5from
breskeby:es-9.5-official-images-review
Nov 25, 2026
Merged

navyau09 merged 1 commit into
elastic:9.5from
breskeby:es-9.5-official-images-review

Conversation

@breskeby

Copy link
Copy Markdown

Applies the Elasticsearch changes requested by @tianon in the review of docker-library/official-images#22842 to the 9.5 Elasticsearch Dockerfile.

Changes

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.5, so the next generated "Contexts for 9.5.x" PR keeps them.

Testing

I built elasticsearch/ from this branch locally (aarch64):

  • the image has 10 layers, and bin/elasticsearch --version reports 9.5.7
  • the bundled JDK's cacerts (the OS trust store) has 118 trusted certificates and neither distrusted root
  • every set of identical jars with the same mode shares one inode (521 linked jars)

Apply elastic/elasticsearch#167233 and #167230 to the 9.5.7
Elasticsearch Dockerfile, as requested in the review of
docker-library/official-images#22842:

- drop the microdnf upgrade on top of the base image
- replace the sha256sum/ln -f loop with util-linux hardlink, which
  keeps every jar mode intact
- drop the separate jdk and ML library layers
@breskeby
breskeby marked this pull request as ready for review November 24, 2026 14:05
@breskeby
breskeby requested a review from a team as a code owner November 24, 2026 14:05
@navyau09
navyau09 merged commit b9742ef into elastic:9.5 Nov 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants