You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the main issue, it is necessary to modify the installation process of the Wazuh dashboard packages in the Docker image build.
Within the Dockerfile we have a script that currently configures the pre-release or production repository according to whether the version we are using is greater or not than the current release.
This script currently performs checks to automatically choose which repository to use. This must be modified so that it selects which package to download for the installation, taking into account that it can obtain the production and pre-release packages and also the possibility of using development packages, which must be obtained from private buckets.
Other steps of this change is to be able to build both amd64 and arm64 images, so the Dockerfile must be adapted to use global variables when selecting the corresponding architecture package.
It is also required to use a Github Actions workflow to build and push images to the corresponding repository. Currently, there is a workflow located at .github/workflows/Procedure_push_docker_images.yml that creates the Docker images and pushes them to Docker Hub. A workflow must be generated for the image's own build and its subsequent push to Docker Hub or ECR, depending on whether it is a productive image or not.
Tasks
Modify installation method to use downloaded packages
Ensure you can use prod, pre-release and development packages during the build process
Ensure you can create amd64 and arm64 images
Ensure the build workflow can push images to Docker hub and ECR repositories.
DRI
Gonzalo Acuña
The text was updated successfully, but these errors were encountered:
Description
According to the main issue, it is necessary to modify the installation process of the Wazuh dashboard packages in the Docker image build.
Within the
Dockerfile
we have a script that currently configures the pre-release or production repository according to whether the version we are using is greater or not than the current release.This script currently performs checks to automatically choose which repository to use. This must be modified so that it selects which package to download for the installation, taking into account that it can obtain the
production
andpre-release
packages and also the possibility of using development packages, which must be obtained from private buckets.Other steps of this change is to be able to build both
amd64
andarm64
images, so theDockerfile
must be adapted to use global variables when selecting the corresponding architecture package.It is also required to use a Github Actions workflow to build and push images to the corresponding repository. Currently, there is a workflow located at
.github/workflows/Procedure_push_docker_images.yml
that creates the Docker images and pushes them to Docker Hub. A workflow must be generated for the image's own build and its subsequent push toDocker Hub
orECR,
depending on whether it is a productive image or not.Tasks
DRI
Gonzalo Acuña
The text was updated successfully, but these errors were encountered: