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 - Migrate Wazuh dashboard build files #1687

Open
3 tasks
vcerenu opened this issue Jan 15, 2025 · 0 comments
Open
3 tasks

MVP - Migrate Wazuh dashboard build files #1687

vcerenu opened this issue Jan 15, 2025 · 0 comments
Labels
level/subtask Task issue

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
  • Assign the necessary values ​​to the environment variables so that the build is correct.
  • Test the build of the Wazuh manager Docker image

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 Task issue label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Task issue
Projects
None yet
Development

No branches or pull requests

1 participant