From 8765678aaa354864be3958e9d0b4c1495d86b961 Mon Sep 17 00:00:00 2001 From: Raul Del Pozo Moreno Date: Thu, 24 Mar 2022 19:28:06 +0100 Subject: [PATCH] Added custom images --- wazuh-manager/Dockerfile | 4 ++-- wazuh-manager/config/wazuh.repo | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wazuh-manager/Dockerfile b/wazuh-manager/Dockerfile index 1da3d314..4c02a10d 100644 --- a/wazuh-manager/Dockerfile +++ b/wazuh-manager/Dockerfile @@ -8,7 +8,7 @@ ARG TEMPLATE_VERSION="master" ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.1.tar.gz" # Set repositories. -RUN rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH +RUN rpm --import https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH COPY config/wazuh.repo /etc/yum.repos.d/wazuh.repo @@ -18,7 +18,7 @@ RUN yum --enablerepo=updates clean metadata && \ sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo && \ yum clean all && rm -rf /var/cache/yum -RUN curl -L -O https://packages.wazuh.com/4.x/yum/${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm &&\ +RUN curl -L -O https://packages-dev.wazuh.com/pre-release/yum/${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm &&\ rpm -i ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm && rm -f ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm RUN curl -s https://packages.wazuh.com/4.x/filebeat/${WAZUH_FILEBEAT_MODULE} | tar -xvz -C /usr/share/filebeat/module diff --git a/wazuh-manager/config/wazuh.repo b/wazuh-manager/config/wazuh.repo index e230d6a9..4b673ff0 100644 --- a/wazuh-manager/config/wazuh.repo +++ b/wazuh-manager/config/wazuh.repo @@ -1,7 +1,7 @@ [wazuh_repo] gpgcheck=1 -gpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH +gpgkey=https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH enabled=1 name=Wazuh repository -baseurl=https://packages.wazuh.com/4.x/yum/ +baseurl=https://packages-dev.wazuh.com/pre-release/yum/ protect=1