Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP - Docker - Migrate Wazuh dashboard build files #508

Open
2 tasks
Tracked by #1675
vcerenu opened this issue Jan 15, 2025 · 0 comments
Open
2 tasks
Tracked by #1675

MVP - Docker - Migrate Wazuh dashboard build files #508

vcerenu opened this issue Jan 15, 2025 · 0 comments
Labels
level/subtask Subtask issue type/enhancement New feature or request

Comments

@vcerenu
Copy link
Member

vcerenu commented Jan 15, 2025

Description

The current process of building Docker images in Wazuh is done with a script in the build-docker-images/build-images.sh path, which uses the build-docker-images/build-images.yml file to build the images of the 3 components and we use the .env file hosted in the root of the repository to hold environment variables that are shared with all build processes in general.
For the build process of each of the images we have set up our own directory to house the Dockerfile and the other script files and configurations used in the build of the image, which in the case of Wazuh dashboard is the build-docker-images/wazuh-dashboard directory.

build-docker-images/
├── build-images.sh
├── build-images.yml
├── README.md
└── wazuh-dashboard
     ├── config
     │   ├── check_repository.sh
     │   ├── config.sh
     │   ├── config.yml
     │   ├── entrypoint.sh
     │   ├── wazuh_app_config.sh
     │   └── wazuh.yml
     └── Dockerfile

In the migration of the build process, you need to migrate the files from the corresponding directory to the new repository and assign the environment variables that are assigned in the build-docker-images/build-images.sh script in a general way within the Dockerfile, so that the process is generated without errors.

Tasks

  • Migrate the files from the build-docker-images/wazuh-dashboard directory to the new repository
  • Remove the dependency on the .env file contained in the wazuh-docker repository and migrate the value of those variables to the Dockerfile.

Important

The build will not be tested at this stage because the procedure is not adapted to work with 5.0.0.

DRI

Gonzalo Acuña

@vcerenu vcerenu changed the title Migrate Wazuh dashboard build files MVP - Migrate Wazuh dashboard build files Jan 15, 2025
@vcerenu vcerenu added the level/subtask Subtask issue label Jan 16, 2025
@teddytpc1 teddytpc1 added the type/enhancement New feature or request label Jan 22, 2025
@teddytpc1 teddytpc1 changed the title MVP - Migrate Wazuh dashboard build files MVP - Docker - Migrate Wazuh dashboard build files Jan 29, 2025
@teddytpc1 teddytpc1 transferred this issue from wazuh/wazuh-docker Jan 30, 2025
@wazuhci wazuhci moved this from Triage to Backlog in XDR+SIEM/Release 5.0.0 Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Subtask issue type/enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants