<span style="font-size:18px;"># Snort 2.9.8.0
#
# VERSION 1
FROM opennsm/debian
MAINTAINER xu <921586520@qq.com>
# Metadata
LABEL organization=iie
LABEL program=snort
# Specify container username e.g. training, demo
ENV VIRTUSER snort
# Specify program
ENV PROG snort
# Specify source extension
ENV EXT tar.gz
# Specify Snort version to download and install
ENV VERS 2.9.8.0
# Specific libpcap to download and install
ENV LVERS libpcap-1.7.4
# Specific libdnet to download and install
ENV LDVERS libdnet-1.11
# Specific daq to download and install
ENV DVERS daq-2.0.6
# Install directory
ENV PREFIX /opt
# Path should include prefix
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PREFIX/bin
# Install dependencies
RUN apt-get update -qq
RUN apt-get install -yq build-essential libpcre3-dev \
bison flex zlib1g-dev autoconf libtool --no-install-recommends
# Compile and install libpcap
RU
docker镜像制作之Dockerfile文件---snort
最新推荐文章于 2024-04-27 13:27:08 发布