Skip to content

Commit a4948c4

Browse files
authored
Fix Docker package builder: add alerting/notifications build args (#1376)
* Add alerting and notifications build args to Docker package builder * chore: add changelog entry
1 parent 76f461c commit a4948c4

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ All notable changes to the Wazuh app project will be documented in this file.
1717
- Added Health Check app [#870](https://github.com/wazuh/wazuh-dashboard/pull/870) [#946](https://github.com/wazuh/wazuh-dashboard/pull/946) [#1366](https://github.com/wazuh/wazuh-dashboard/pull/1366)
1818
- Added manager host configuration for the default configuration file [#998](https://github.com/wazuh/wazuh-dashboard/pull/998)
1919
- Set v9 theme as default [#1092](https://github.com/wazuh/wazuh-dashboard/pull/1092)
20+
- Added wazuh-dashboard-alerting and wazuh-dashboard-notifications as build arguments in the Docker package builder's `docker-compose.yml` [#1376](https://github.com/wazuh/wazuh-dashboard/pull/1376)
2021

2122
### Fixed
2223

dev-tools/build-packages/base-packages-to-base/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ The inputs are the following:
2222
- `-s`, `--security`: Set the `wazuh-security-dashboards-plugin` branch.
2323
- `-sa`, `--securityAnalytics`: Set the `wazuh-dashboard-security-analytics` branch.
2424
- `-r`, `--reporting`: Set the `wazuh-dashboard-reporting` branch.
25+
- `-al`, `--alerting`: Set the `wazuh-dashboard-alerting` branch.
26+
- `-no`, `--notifications`: Set the `wazuh-dashboard-notifications` branch.
2527
- `--node-version`: [Optional] Set the node version.
2628
- `--arm`: [Optional] Build for arm64 instead of x64.
2729

dev-tools/build-packages/base-packages-to-base/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
base:
3-
image: base-${WAZUH_DASHBOARD_BRANCH}-${WAZUH_SECURITY_PLUGIN_BRANCH}-${WAZUH_DASHBOARD_PLUGINS_BRANCH}-${WAZUH_DASHBOARD_REPORTING_BRANCH}-${WAZUH_DASHBOARD_SECURITY_ANALYTICS_BRANCH}-${ARCHITECTURE}
3+
image: base-${WAZUH_DASHBOARD_BRANCH}-${WAZUH_SECURITY_PLUGIN_BRANCH}-${WAZUH_DASHBOARD_PLUGINS_BRANCH}-${WAZUH_DASHBOARD_REPORTING_BRANCH}-${WAZUH_DASHBOARD_SECURITY_ANALYTICS_BRANCH}-${WAZUH_DASHBOARD_ALERTING_BRANCH}-${WAZUH_DASHBOARD_NOTIFICATIONS_BRANCH}-${ARCHITECTURE}
44
build:
55
context: ..
66
dockerfile: base-packages-to-base/base-packages.Dockerfile
@@ -11,6 +11,8 @@ services:
1111
WAZUH_DASHBOARD_PLUGINS_BRANCH: ${WAZUH_DASHBOARD_PLUGINS_BRANCH}
1212
WAZUH_DASHBOARD_REPORTING_BRANCH: ${WAZUH_DASHBOARD_REPORTING_BRANCH}
1313
WAZUH_DASHBOARD_SECURITY_ANALYTICS_BRANCH: ${WAZUH_DASHBOARD_SECURITY_ANALYTICS_BRANCH}
14+
WAZUH_DASHBOARD_ALERTING_BRANCH: ${WAZUH_DASHBOARD_ALERTING_BRANCH}
15+
WAZUH_DASHBOARD_NOTIFICATIONS_BRANCH: ${WAZUH_DASHBOARD_NOTIFICATIONS_BRANCH}
1416
ARCHITECTURE: ${ARCHITECTURE}
1517
container_name: wzd-base-packages
1618
environment:

0 commit comments

Comments
 (0)