Skip to content

Commit bd256d8

Browse files
authored
Update Dockerfile
Former-commit-id: 3d7ef84
1 parent 7332d55 commit bd256d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wazuh/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RUN set -x && \
4242
rm -f /var/ossec/logs/cluster/*/*/* && \
4343
rm -f /var/ossec/logs/ossec/*/*/* && \
4444
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm && \
45-
rpm -i ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm && \
45+
rpm -i ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm && rm -f ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-x86_64.rpm && \
4646
sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo
4747

4848
# Services

0 commit comments

Comments
 (0)