Last active
May 31, 2018 18:07
-
-
Save foxutech/2d3512c3667c0cd67ff7187fac122c38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get update -y && apt-get install -y curl apt-transport-https lsb-release libopenscap8 xsltproc | |
RUN curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - | |
RUN echo "deb https://packages.wazuh.com/apt xenial main"| tee /etc/apt/sources.list.d/wazuh.list | |
RUN apt-get -y update && apt-get -y install wazuh-agent | |
RUN echo "TopSecret" >> /var/ossec/etc/authd.pass | |
RUN chown -R ossec /var/ossec | |
EXPOSE 1514/udp 1515 | |
RUN /var/ossec/bin/agent-auth -m xy.yx.xy.yx | |
CMD service wazuh-agent start && tail -f /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment