-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 750 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:buster
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
RUN apt-get -y -q update \
&& apt-get -y -q install sudo nano git curl wget build-essential python3-pip python2 python2-dev
# Install python2-pip
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py \
&& python2 /tmp/get-pip.py \
&& python2 -m pip install distorm3 pycryptodome
RUN git clone https://github.com/volatilityfoundation/volatility /volatility/ \
&& cd /volatility/
RUN echo '#!/bin/bash\npython2 /volatility/vol.py ${@}' > /bin/volatility \
&& chmod +x /bin/volatility \
&& ln -s /bin/volatility /bin/volatility2
RUN mkdir -p /workspace/
VOLUME /workspace/
WORKDIR /workspace/
CMD /bin/bash