From fd26c6f25125ee8fabba0b85bef7912e0611fbad Mon Sep 17 00:00:00 2001 From: Florent Kaisser Date: Sun, 22 Nov 2020 09:55:51 +0100 Subject: [PATCH] Unauthorize devTools access --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a08b60..9a29441 100644 --- a/Dockerfile +++ b/Dockerfile @@ -106,9 +106,11 @@ RUN ${GET} https://github.com/grimoirelab/kibiter/releases/download/${KB_TAG}/${ tar xzf ${KB_DIR}.tar.gz && \ rm ${KB_DIR}.tar.gz && \ sed -e "s|^#server.host: .*$|server.host: 0.0.0.0|" -i ${KB_DIR}/config/kibana.yml && \ - sed -e "s/\'devTools\'\,//g" -i ${KB_DIR}/src/core_plugins/kibana/index.js && \ rm -rf ${KB_DIR}/src/ui/public/images ${KB_DIR}/src/ui/public/assets/favicons +# Unauthorize devTools access +RUN sed -e "s/ 'devTools',//g" -i ${KB_DIR}/src/core_plugins/kibana/index.js + COPY images ${KB_DIR}/src/ui/public/images COPY favicons ${KB_DIR}/src/ui/public/assets/favicons