This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 1- FROM fedora:34
1+ FROM debian:buster-slim
22
33LABEL maintainer "NoEnv"
44LABEL version "4.1.5"
55LABEL description "Wazuh Agent"
66
7- COPY entrypoint.sh ossec.conf wazuh.repo /
7+ COPY entrypoint.sh ossec.conf /
88
9- RUN mv /wazuh.repo /etc/yum.repos.d/wazuh.repo && \
10- rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH && \
11- dnf -y --setopt=tsflags=nodocs install procps-ng inotify-tools python-docker wazuh-agent && \
9+ RUN apt-get update && apt-get install -y \
10+ procps curl apt-transport-https gnupg2 inotify-tools python-docker && \
11+ curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - && \
12+ echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list && \
13+ apt-get update && \
14+ apt-get install -y wazuh-agent=4.1.5-1 && \
1215 mv /ossec.conf /var/ossec/etc/ && \
13- dnf clean all && \
14- rm -rf /var/lib/dnf/repos/* /tmp/* /var/tmp/* /var/log/*.log
16+ rm -rf /var/lib/apt/lists/*
1517
1618ENTRYPOINT ["/entrypoint.sh" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments