forked from wazuh/wazuh-docker
--- - All relevant content of README.md files was migrated to docs/ section in their respective section. - These README files has been deleted (4 files) - All README.md files (additional to the project's root and docs/) have been edited. --- - Both files build-docker-images/README.md and docs/dev/build-image.md have almost same content, so it was discarded the README file - As the directory and docker image are going to be disused, the certs-gen documentation contents of indexer-certs-creator/README.md was not mig> - The 'bash' command added to the docs/dev/build-image.md was removed - Added workflow usage docs file to the the SUMMARY.md file --- - Removed '$' parameter and added 'bash' to all markdown code blocks headings (```) ---
1.3 KiB
1.3 KiB
Wazuh Docker Image Builder
The creation of the images for the Wazuh stack deployment in Docker is done with the build-docker-images/build-images.sh script
This script initializes the environment variables needed to build each of the images.
To execute it, make sure to be in the build-docker-images directory:
cd build-docker-images
Then execute:
./build-images.sh
The script also allows to build images from other versions of Wazuh by using the -v or --version argument:
./build-images.sh -v 5.0.0
To get all the available script options use the -h or --help option:
./build-images.sh -h
Usage: build-images.sh [OPTIONS]
-d, --dev <ref> [Optional] Set the development stage you want to build, example rc2 or beta1, not used by default.
-r, --revision <rev> [Optional] Package revision. By default 1
-ref, --reference <ref> [Optional] Set the Wazuh reference to build development images. By default, the latest stable release.
-rg, --registry <reg> [Optional] Set the Docker registry to push the images.
-v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, 5.0.0.
-m, --multiarch [Optional] Enable multi-architecture builds.
-h, --help Show this help.