-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Cleanup dockerfile #183334
Cleanup dockerfile #183334
Conversation
jbudz
commented
May 13, 2024
•
edited by kibanamachine
Loading
edited by kibanamachine
- Skips font install on serverless, pdf reporting is disabled
- Moves tini and font download to stage 0
- Removes curl install from Ubuntu stage 1
buildkite test this |
buildkite test this |
@@ -79,44 +104,25 @@ RUN for iter in {1..10}; do \ | |||
{{packageManager}} update && \ | |||
{{packageManager}} upgrade -y && \ | |||
{{packageManager}} install -y --no-install-recommends \ | |||
fontconfig fonts-liberation libnss3 libfontconfig1 ca-certificates curl && \ |
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.
libfontconfig1 is already a dependency of fontconfig. fonts-liberation is superseded by the installed font NotoSansCJK.
@elastic/kibana-reporting-services any idea if I'm missing anything? I'm pretty sure we're okay, tests are passing and my manual checks lgtm.
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.
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.
cc @tsullivan - we both don't spot anything missing in the Dockerfile. Thank you!
Pinging @elastic/kibana-operations (Team:Operations) |
src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile
Show resolved
Hide resolved
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Canvas Sharable Runtime
History
To update your PR or re-run it, just comment with: |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
- Skips font install on serverless, pdf reporting is disabled - Moves tini and font download to stage 0 - Removes curl install from Ubuntu stage 1
- Skips font install on serverless, pdf reporting is disabled - Moves tini and font download to stage 0 - Removes curl install from Ubuntu stage 1
Hey @jbudz, We use These are our healthchecks in elastic-package: https://github.com/elastic/elastic-package/blob/cf8e1c9d33068a4daa63032a49e3e51006fe9171/internal/stack/_static/kibana-healthcheck.sh.tmpl If the decision of removing cc @elastic/ecosystem |
Searching a bit in the Elastic org, it looks like |
Thanks for the ping. No problem, I reverted the backports and will re-add it to main. Linked issues are above. |
Thanks @jbudz! |
This reverts commit a8f15df.