diff --git a/docker/images/kbn-7.17.13-dev.Dockerfile b/docker/images/kbn-7.17.13-dev.Dockerfile new file mode 100644 index 0000000000..de94eabd1d --- /dev/null +++ b/docker/images/kbn-7.17.13-dev.Dockerfile @@ -0,0 +1,17 @@ +FROM node:18.17.1 AS builder-kbn-7.17.13 +RUN npm install --global @bazel/bazelisk@1.10.1 +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 diff --git a/docker/kbn-dev/dev.sh b/docker/kbn-dev/dev.sh index 1239b98726..27ce4bf5b9 100755 --- a/docker/kbn-dev/dev.sh +++ b/docker/kbn-dev/dev.sh @@ -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'