forked from st1gma/dockerotools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (18 loc) · 873 Bytes
/
Dockerfile
File metadata and controls
23 lines (18 loc) · 873 Bytes
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.7
MAINTAINER Juan <juan@jmp-esp.net>
RUN apt update ;\
apt upgrade -y ;\
apt install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common wget -y;\
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - ;\
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ ;\
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ ;\
apt update ;\
apt install adoptopenjdk-8-hotspot build-essential git -y
RUN pip3 install --upgrade malwareconfig starlette uvicorn pycrypto
COPY ./app /opt/app
COPY ./decoders /opt/decoders
RUN git clone --recursive https://github.com/VirusTotal/yara-python ;\
cd yara-python ;\
python3 setup.py build --enable-magic --enable-dotnet ;\
python3 setup.py install
ENTRYPOINT ["/opt/app/start.sh"]