-
Notifications
You must be signed in to change notification settings - Fork 31
/
Dockerfile
23 lines (16 loc) · 942 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.9-slim
LABEL org.opencontainers.image.title="Zeek Anomaly Detector" \
org.opencontainers.image.description="This image runs the Zeek Anomaly Detector tool for network data analysis." \
org.opencontainers.image.version="0.1.0" \
org.opencontainers.image.created="2023-07-27" \
org.opencontainers.image.source="https://github.com/stratosphereips/zeek_anomaly_detector" \
org.opencontainers.image.authors="Veronica Valeros <[email protected]>, Sebastian Garcia <[email protected]>"
ENV DEBIAN_FRONTEND=noninteractive
ENV DESTINATION_DIR /zeek_anomaly_detector/
RUN apt update && \
apt install -y --no-install-recommends git && \
apt clean
RUN git clone --depth 1 --recurse-submodules https://github.com/stratosphereips/zeek_anomaly_detector.git ${DESTINATION_DIR}
WORKDIR ${DESTINATION_DIR}
RUN pip install -r requirements.txt
RUN git submodule update --init --recursive --remote