Skip to content
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

Doesn't Run on 8.7.0 in Docker #13

Open
angryviking opened this issue May 11, 2023 · 0 comments
Open

Doesn't Run on 8.7.0 in Docker #13

angryviking opened this issue May 11, 2023 · 0 comments

Comments

@angryviking
Copy link

After building the plugin for 8.7, it seems to work with Kibana in development mode running on my local machine.
When I try to add this plugin to our 8.7.0 instance running in Docker, I get the following error when I try to connect to Kibana:

image

Here is the Dockerfile that I am using to build the container

ARG  BASE_REGISTRY=docker.elastic.co
ARG  BASE_IMAGE=kibana/kibana
ARG  BASE_TAG=8.7.0

FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} AS builder
ARG  BASE_TAG
USER kibana
COPY kbnSankeyVis-${BASE_TAG}.zip /tmp
COPY customKibanaTheme-${BASE_TAG}.zip /tmp
RUN  bin/kibana-plugin install file:///tmp/kbnSankeyVis-${BASE_TAG}.zip && \
     bin/kibana-plugin install file:///tmp/customKibanaTheme-${BASE_TAG}.zip

FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
COPY --from=builder /usr/share/kibana/plugins plugins/
RUN  bin/kibana --optimize

If I remove just the customKibanaTheme plugin, everything builds and runs fine.

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

No branches or pull requests

1 participant