mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-03-25 21:29:10 +02:00
upgrade snort to 2.9.12
This commit is contained in:
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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user