diff --git a/build-docker-images/build-images.yml b/build-docker-images/build-images.yml deleted file mode 100644 index fc96614f..00000000 --- a/build-docker-images/build-images.yml +++ /dev/null @@ -1,52 +0,0 @@ -# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2) -# -# Build-only compose file for `docker compose build`. -# Only `build` and `image` keys are relevant here; all runtime configuration -# (ports, volumes, environment, depends_on, etc.) belongs in the deployment -# compose files under single-node/ or multi-node/. -# -# For parallel builds and full multi-arch support, prefer docker-bake.hcl: -# docker buildx bake -f docker-bake.hcl -services: - wazuh.manager: - build: - context: wazuh-manager/ - args: - WAZUH_VERSION: ${WAZUH_VERSION} - wazuh_manager_x86_64_rpm: ${wazuh_manager_x86_64_rpm} - wazuh_manager_aarch64_rpm: ${wazuh_manager_aarch64_rpm} - wazuh_certs_tool: ${wazuh_certs_tool} - wazuh_config_yml: ${wazuh_config_yml} - image: ${WAZUH_REGISTRY}/wazuh/wazuh-manager:${IMAGE_TAG} - - wazuh.agent: - build: - context: wazuh-agent/ - args: - WAZUH_VERSION: ${WAZUH_VERSION} - wazuh_agent_x86_64_rpm: ${wazuh_agent_x86_64_rpm} - wazuh_agent_aarch64_rpm: ${wazuh_agent_aarch64_rpm} - image: ${WAZUH_REGISTRY}/wazuh/wazuh-agent:${IMAGE_TAG} - - wazuh.indexer: - build: - context: wazuh-indexer/ - args: - WAZUH_VERSION: ${WAZUH_VERSION} - wazuh_indexer_x86_64_rpm: ${wazuh_indexer_x86_64_rpm} - wazuh_indexer_aarch64_rpm: ${wazuh_indexer_aarch64_rpm} - wazuh_certs_tool: ${wazuh_certs_tool} - wazuh_config_yml: ${wazuh_config_yml} - image: ${WAZUH_REGISTRY}/wazuh/wazuh-indexer:${IMAGE_TAG} - - wazuh.dashboard: - build: - context: wazuh-dashboard/ - args: - WAZUH_VERSION: ${WAZUH_VERSION} - wazuh_dashboard_x86_64_rpm: ${wazuh_dashboard_x86_64_rpm} - wazuh_dashboard_aarch64_rpm: ${wazuh_dashboard_aarch64_rpm} - wazuh_certs_tool: ${wazuh_certs_tool} - wazuh_config_yml: ${wazuh_config_yml} - image: ${WAZUH_REGISTRY}/wazuh/wazuh-dashboard:${IMAGE_TAG} - diff --git a/docs/README.md b/docs/README.md index ca4852b9..dfbb3b46 100644 --- a/docs/README.md +++ b/docs/README.md @@ -28,7 +28,7 @@ The folder `wazuh-agent` contains a README explaining how to run a container wit ├── build-docker-images │   ├── build-images.sh - │   ├── build-images.yml + │   ├── docker-bake.hcl │   ├── README.md │   ├── wazuh-agent │   │   ├── config diff --git a/docs/dev/workflow-usage.md b/docs/dev/workflow-usage.md index 7130a8e9..36da4c56 100644 --- a/docs/dev/workflow-usage.md +++ b/docs/dev/workflow-usage.md @@ -38,7 +38,7 @@ The Procedure_push_docker_images.yml workflow builds and pushes multi-architectu 2. **Multi-architecture Build**: - Uses Docker Buildx with QEMU for cross-platform builds - Builds for `linux/amd64` and `linux/arm64` - - Leverages `build-images.yml` for build configuration + - Leverages `docker-bake.hcl` for parallel multi-arch build configuration 3. **Image Publishing**: - Tags images appropriately based on mode