Skip to content

Changed the base image to Amazon Linux 2023 #1224

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

Merged

Conversation

davidcr01
Copy link
Contributor

Description

The aim of this PR is to change the base of the OS of the Docker images from Ubuntu Jammy to Amazon Linux 2023.

This change implies some modifications:

  • Change in the installed dependencies
  • Change in the Wazuh GPG key and import
  • Change in the permissions, owner and groups of the files.

The sizes of the images are the following:

root@ip-172-31-41-4:/home/ubuntu/wazuh-docker/single-node# docker images
REPOSITORY                    TAG       IMAGE ID       CREATED          SIZE
wazuh/wazuh-dashboard         4.8.0     357ec8a9f033   44 minutes ago   1.15GB
wazuh/wazuh-indexer           4.8.0     d7949d499dcf   46 minutes ago   2.32GB
wazuh/wazuh-manager           4.8.0     98d1c9d13a8b   46 minutes ago   1.22GB

Tests

🟢 Single node deployment: #1210 (comment)
🟢 Multi node deployment: #1210 (comment)
🟢 Upgrade: #1210 (comment)

@davidcr01 davidcr01 self-assigned this Feb 22, 2024
@davidcr01 davidcr01 linked an issue Feb 22, 2024 that may be closed by this pull request
7 tasks
@teddytpc1 teddytpc1 merged commit 23900db into 4.8.0 Feb 22, 2024
@teddytpc1 teddytpc1 deleted the change/1210-change-the-base-image-to-amazon-linux-2023 branch February 22, 2024 19:12
@L1ghtn1ng
Copy link

This change was not needed to fix the vulnerabilities in the docker image so it could technically stay on Ubuntu jammy, all that was missing is having an apt dist-upgrade -y and that would of updated packages that need updating apt update only refreshes the apt cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the base image to Amazon Linux 2023
4 participants