Ajout wazuh
This commit is contained in:
17
wazuh-agent-container/Dockerfile
Normal file
17
wazuh-agent-container/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM reg.cadoles.com/proxy_cache/library/debian:12.10
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y gpg curl \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg
|
||||
|
||||
RUN echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y wazuh-agent \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
CMD /var/ossec/bin/wazuh-control start
|
Reference in New Issue
Block a user