forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e26578
commit 2589c81
Showing
1 changed file
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Images | ||
|
||
Generation of Wazuh dashboard docker images | ||
|
||
### Prerequisites | ||
|
||
You must already have the final Wazuh dashboard package. | ||
|
||
You can run it from the GitHub actions to generate the tar package. | ||
|
||
Download the zip file that generates the action and place it in the `*/wazuh-dashboard/dev-tools/build-packages/docker/` folder.(If you have generated it locally, it generates a zip of the tar.gz file) | ||
|
||
### Image generation | ||
|
||
To build an image, use the docker build command like: | ||
|
||
Use the `--build-arg` flag to specify the package name. | ||
|
||
For example, to build the image for Wazuh dashboard 4.9.0. | ||
You must have the file wazuh-dashboard-4.9.0-00-linux-x64.tar.gz.zip in the specified path and specify it in the command with parameter PACKAGE_NAME. | ||
|
||
```bash | ||
docker build -f ./wzd.Dockerfile . --build-arg PACKAGE_PATH=wazuh-dashboard-4.9.0-00-linux-x64.tar.gz.zip -t wazuh-dashboard:4.9.0 | ||
``` |