-
Notifications
You must be signed in to change notification settings - Fork 919
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 Docker image build process #289
Conversation
The Dockerfile was still building kibana so updated to build OpenSearch-Dashboards. Some fields in the Docker image labels may need updating but setting to some fairly sensible values for now. Additionally some future work to be done around public artefacts that AFAIK don't exist yet. Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com>
This needs eventually updating to a correct URI but for now this should suffice Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com>
Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com>
✅ DCO Check Passed f846f33 |
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.
LGTM! Pulled it down and was able to build docker containers. Thank you!
RUN cd /opt && \ | ||
curl --retry 8 -s -L -O https://artifacts.opensearch.co/downloads/kibana/{{artifactTarball}} && \ | ||
cd - | ||
# TODO: Update this link or remove functionality |
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.
Don't need to do for this PR but for these I end up appended [RENAMEME] to the TODO
's so that we can track it a little bit easier. So we will end up updating all these artifact links with real links.
src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile
Outdated
Show resolved
Hide resolved
src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile
Outdated
Show resolved
Hide resolved
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.
@jgough Thank you for the PR and changes, few minor comments, otherwise looks good. Where Kibana
is references in terms of string use OpenSearch Dashboards
instead of OpenSearch-Dashboards
❌ DCO Check Failed 68d71e4 |
Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com>
✅ DCO Check Passed 26b2b17 |
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.
LGTM!
* Fix Dockerfile to build OpenSearch-Dashboards The Dockerfile was still building kibana so updated to build OpenSearch-Dashboards. Some fields in the Docker image labels may need updating but setting to some fairly sensible values for now. Additionally some future work to be done around public artefacts that AFAIK don't exist yet. Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com> * Change docker image host to opensearch.org This needs eventually updating to a correct URI but for now this should suffice Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com> * Removing x-pack code Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com> * Update name to OpenSearch Dashboards Signed-off-by: Jonathan Gough <jonathanpgough@gmail.com>
Description
This fixes the Docker image building process that was still trying to build kibana
Issues Resolved
#285
Check List