forked from wazuh/wazuh-docker
Add rpm path
This commit is contained in:
@@ -15,7 +15,7 @@ ARG wazuh_agent_url_amd64_rpm
|
|||||||
ARG wazuh_agent_url_arm64_rpm
|
ARG wazuh_agent_url_arm64_rpm
|
||||||
|
|
||||||
RUN dnf install curl-minimal tar gzip procps -y &&\
|
RUN dnf install curl-minimal tar gzip procps -y &&\
|
||||||
curl -o wazuh-agent.rpm "${wazuh_agent_url_amd64_rpm}" && \
|
curl -o /wazuh-agent.rpm "${wazuh_agent_url_amd64_rpm}" && \
|
||||||
dnf install /wazuh-agent.rpm -y && \
|
dnf install /wazuh-agent.rpm -y && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
sed -i '/<authorization_pass_path>/d' /var/ossec/etc/ossec.conf && \
|
sed -i '/<authorization_pass_path>/d' /var/ossec/etc/ossec.conf && \
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ ARG wazuh_dashboard_url_arm64_rpm
|
|||||||
|
|
||||||
# Update and install dependencies
|
# Update and install dependencies
|
||||||
RUN dnf install curl-minimal libcap openssl -y && \
|
RUN dnf install curl-minimal libcap openssl -y && \
|
||||||
curl -o wazuh-dashboard.rpm "${wazuh_dashboard_url_amd64_rpm}" && \
|
curl -o /wazuh-dashboard.rpm "${wazuh_dashboard_url_amd64_rpm}" && \
|
||||||
dnf install /wazuh-dashboard.rpm -y && \
|
dnf install /wazuh-dashboard.rpm -y && \
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ ARG wazuh_indexer_url_arm64_rpm
|
|||||||
COPY config/config.sh .
|
COPY config/config.sh .
|
||||||
|
|
||||||
RUN yum install curl-minimal openssl xz tar findutils shadow-utils -y &&\
|
RUN yum install curl-minimal openssl xz tar findutils shadow-utils -y &&\
|
||||||
curl -o wazuh-indexer.rpm "${wazuh_indexer_url_amd64_rpm}" && \
|
curl -o /wazuh-indexer.rpm "${wazuh_indexer_url_amd64_rpm}" && \
|
||||||
dnf install /wazuh-indexer.rpm -y && \
|
dnf install /wazuh-indexer.rpm -y && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
bash config.sh
|
bash config.sh
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ ARG wazuh_manager_url_arm64_rpm
|
|||||||
|
|
||||||
RUN dnf install curl-minimal xz gnupg tar gzip openssl findutils procps -y &&\
|
RUN dnf install curl-minimal xz gnupg tar gzip openssl findutils procps -y &&\
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
curl -o wazuh-manager.rpm "${wazuh_manager_url_amd64_rpm}" && \
|
curl -o /wazuh-manager.rpm "${wazuh_manager_url_amd64_rpm}" && \
|
||||||
dnf install /wazuh-manager.rpm -y && \
|
dnf install /wazuh-manager.rpm -y && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
curl --fail --silent -L https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-amd64.tar.gz \
|
curl --fail --silent -L https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-amd64.tar.gz \
|
||||||
|
|||||||
Reference in New Issue
Block a user