Skip to content

Commit

Permalink
Unauthorize devTools access
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Kaisser committed Nov 22, 2020
1 parent 1bcb508 commit fd26c6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd26c6f

Please sign in to comment.