1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

upgrade snort to 2.9.12

This commit is contained in:
kev 2018-10-26 07:23:14 +08:00
parent 403d18710a
commit cecc86da35

@ -6,13 +6,14 @@ FROM centos:7
MAINTAINER kev <noreply@easypi.pro>
ENV DAQ_VERSION 2.0.6
ENV SNORT_VERSION 2.9.11.1
ENV SNORT_VERSION 2.9.12
ENV BASE_URL https://www.snort.org/downloads
RUN set -xe \
&& yum -y install epel-release libdnet \
&& yum -y install ${BASE_URL}/snort/daq-${DAQ_VERSION}-1.centos7.x86_64.rpm \
${BASE_URL}/snort/snort-${SNORT_VERSION}-1.centos7.x86_64.rpm \
&& mkdir -p /etc/snort/rules \
&& curl -sSL ${BASE_URL}/community/community-rules.tar.gz | \
tar xz --strip 1 -C /etc/snort/rules/ community-rules/community.rules \
&& touch /etc/snort/rules/local.rules \