-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Use almalinux as the Docker base image #80524
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
Use almalinux as the Docker base image #80524
Conversation
Pinging @elastic/es-delivery (Team:Delivery) |
Hi @pugnascotia, I've created a changelog YAML for you. |
Hi @pugnascotia, I've updated the changelog YAML for you. |
@elasticmachine run elasticsearch-ci/packaging-tests-windows - looks like transient failures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple comments but otherwise LGTM. Thanks for the quick turnaround on this, Rory.
@@ -19,7 +19,7 @@ | |||
add as many newlines here as necessary to improve legibility. | |||
*/ %> | |||
|
|||
<% if (docker_base == "ubi") { %> | |||
<% if (docker_base == 'default' || docker_base == "ubi") { %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one of the issues the Dockerhub folks had was with the fact we're using a multi-stage build. Can we eliminate this given all we're doing now in this stage is unpacking ES and adding tini?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll look into this in a separate PR.
Closes #76681. Our approach to using `scratch` for building Docker images has caused problems at Docker Hub. Fix this situation by removing the whole process of using scratch and instead bases the default distribution on `almalinux:8.4-minimal`. Alma Linux is binary-compatible with RHEL, and therefore very similar to UBI.
I had to make another fix to the Dockerfile in 46dc92d. |
Closes #76681. Our approach to using `scratch` for building Docker images has caused problems at Docker Hub. Fix this situation by removing the whole process of using scratch and instead bases the default distribution on `almalinux:8.4-minimal`. Alma Linux is binary-compatible with RHEL, and therefore very similar to UBI.
Closes #76681. Our approach to using
scratch
for building Docker images has caused problems at Docker Hub. Fix this situation by removing the whole process of using scratch and instead bases the default distribution onalmalinux:8.4-minimal
. Alma Linux is binary-compatible with RHEL, and therefore very similar to UBI.cc @bytebilly @mieciu