-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.4-2.4-wzd' into backport-4999-to-4.4-2.4-wzd
- Loading branch information
Showing
7 changed files
with
1,065 additions
and
524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM node:14.20.0 AS builder-osd-2.4.0 | ||
USER node | ||
RUN git clone --depth 1 --branch 2.4.0 https://github.com/opensearch-project/OpenSearch-Dashboards.git /home/node/kbn | ||
RUN chown node.node /home/node/kbn | ||
|
||
WORKDIR /home/node/kbn | ||
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 && \ | ||
yarn osd bootstrap --production | ||
|
||
WORKDIR /home/node/kbn/plugins | ||
RUN git clone --depth 1 --branch 2.4.0.0 https://github.com/opensearch-project/security-dashboards-plugin.git | ||
WORKDIR /home/node/kbn/plugins/security-dashboards-plugin | ||
RUN yarn install | ||
|
||
RUN mkdir -p /home/node/kbn/data/wazuh/config | ||
|
||
FROM node:14.20.0 | ||
USER node | ||
COPY --from=builder-osd-2.4.0 /home/node/kbn /home/node/kbn | ||
WORKDIR /home/node/kbn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM node:14.20.0 AS builder-osd-2.4.1 | ||
USER node | ||
RUN git clone --depth 1 --branch 2.4.1 https://github.com/opensearch-project/OpenSearch-Dashboards.git /home/node/kbn | ||
RUN chown node.node /home/node/kbn | ||
|
||
WORKDIR /home/node/kbn | ||
RUN yarn osd bootstrap --production | ||
|
||
WORKDIR /home/node/kbn/plugins | ||
RUN git clone --depth 1 --branch 2.4.1.0 https://github.com/opensearch-project/security-dashboards-plugin.git | ||
WORKDIR /home/node/kbn/plugins/security-dashboards-plugin | ||
RUN yarn install | ||
|
||
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 mkdir -p /home/node/kbn/data/wazuh/config | ||
|
||
FROM node:14.20.0 | ||
USER node | ||
COPY --from=builder-osd-2.4.1 /home/node/kbn /home/node/kbn | ||
WORKDIR /home/node/kbn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.