-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
29 lines (23 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:18.04
LABEL maintainer="Team Stingar <[email protected]>"
LABEL name="mnemosyne"
LABEL version="1.9.1"
LABEL release="1"
LABEL summary="Community Honey Network mnemosyne server"
LABEL description="mnemosyne is a normalizer for honeypot data and writes to mongodb"
LABEL authoritative-source-url="https://github.com/CommunityHoneyNetwork/mnemosyne/commits/master"
LABEL changelog-url="https://github.com/CommunityHoneyNetwork/mnemosyne/commits/master"
ENV DEBIAN_FRONTEND "noninteractive"
# hadolint ignore=DL3008,DL3005
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends -y gcc git sqlite mongodb python3-dev python3-pip python3-magic \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /opt/requirements.txt
RUN python3 -m pip install --upgrade pip setuptools wheel \
&& python3 -m pip install -r /opt/requirements.txt \
&& python3 -m pip install git+https://github.com/CommunityHoneyNetwork/hpfeeds3.git
COPY . /opt/
RUN chmod 0755 /opt/entrypoint.sh
ENTRYPOINT ["/opt/entrypoint.sh"]