1 Star 0 Fork 0

威胁猎人/sniffer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.v2.6.1_pf_ring 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
quwang 提交于 2019-03-11 18:56 +08:00 . update
FROM threathunterx/bro:v2.6.1_pf_ring
MAINTAINER [email protected]
COPY ./entrypoint.sh /entrypoint.sh
COPY ./nebula_sniffer /home/nebula_sniffer/
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo 'Asia/Shanghai' > /etc/timezone \
&& rm -rf /usr/src/*
RUN yum -y install gcc gcc-c++ make cmake openssl openssl-devel python-pip python-devel
#安装Python依赖
RUN pip install --upgrade pip
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
WORKDIR /home/nebula_sniffer
RUN pip install -r requirements.txt
WORKDIR /home/nebula_sniffer/python_lib
RUN pip install -r requirements.txt
WORKDIR /home/nebula_sniffer/python_lib/babel_python
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/nebula_parser
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/nebula_utils
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/threathunter_common_python
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/complexconfig_python
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/nebula_meta
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/nebula_strategy
RUN python setup.py install
WORKDIR /home/nebula_sniffer/python_lib/tornado_profile_gen
RUN python setup.py install
RUN cp -R /opt/broker/lib/python/broker /usr/lib/python2.7/site-packages/
WORKDIR /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["python","/home/nebula_sniffer/sniffer.py"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/threathunter/sniffer.git
[email protected]:threathunter/sniffer.git
threathunter
sniffer
sniffer
master

搜索帮助