Skip to content

Commit

Permalink
[Backport 4.5.3-7.10] Add kbn-dev 7.17.13 and bump node version and d…
Browse files Browse the repository at this point in the history
…ependecies (#5907)

Add kbn-dev 7.17.13 and bump node version and dependecies (#5903)

* Add kbn-dev 7.17.13 and bump node version and dependecies

* Revert pluginPlatform to 7.16.0

Needed for Jest to run

---------

Co-authored-by: Alex Ruiz Becerra <[email protected]>
(cherry picked from commit f240c3b)
  • Loading branch information
JuanGarriuz authored Sep 20, 2023
1 parent 31cee5c commit 348eb01
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker/images/kbn-7.17.13-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:18.17.1 AS builder-kbn-7.17.13
RUN npm install --global @bazel/[email protected]
USER node
RUN git clone --depth 1 --branch v7.17.13 https://github.com/elastic/kibana /home/node/kbn
RUN chown node.node /home/node/kbn

WORKDIR /home/node/kbn
RUN yarn kbn bootstrap
RUN yarn config set registry http://host.docker.internal:4873 && \
sed -i 's/https:\/\/registry.yarnpkg.com/http:\/\/host.docker.internal:4873/g' yarn.lock
RUN rm -rf /home/node/.cache/yarn && rm -rf /home/node/.cache/Cypress && rm -rf /home/node/.cache/ms-playwright
RUN mkdir -p /home/node/kbn/data/wazuh/config

FROM node:18.17.1
USER node
COPY --from=builder-kbn-7.17.13 /home/node/ /home/node/
WORKDIR /home/node/kbn
1 change: 1 addition & 0 deletions docker/kbn-dev/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ elastic_versions=(
'7.17.10'
'7.17.11'
'7.17.12'
'7.17.13'
'8.0.0'
'8.1.0'
'8.2.1'
Expand Down

0 comments on commit 348eb01

Please sign in to comment.