-
Notifications
You must be signed in to change notification settings - Fork 1
/
dfxlibs.dockerfile
59 lines (48 loc) · 1.83 KB
/
dfxlibs.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM ubuntu:jammy
LABEL maintainer="mobab-th"
# Create container with:
# podman build -f dfxlibs.dockerfile -t dfxlibs .
# Run dfxlibs :
# podman run --rm -v /data/:/evidences/ -v /cases/:/cases/ dfxlibs Parameter
ENV DEBIAN_FRONTEND=noninteractive
# Combining the apt-get commands into a single run reduces the size of the resulting image.
# The apt-get installations below are interdependent and need to be done in sequence.
RUN apt-get -y update && \
apt-get -y install apt-transport-https apt-utils && \
apt-get -y install libterm-readline-gnu-perl software-properties-common && \
apt-get -y install locales python3-pip-whl python3-pip && \
apt-get -y install screen mc git && \
apt-get -y upgrade
RUN apt-get clean && rm -rf /var/cache/apt/* /var/lib/apt/lists/*
RUN pip3 install libewf-python && \
pip3 install python-dateutil && \
pip3 install libqcow-python && \
pip3 install libvmdk-python && \
pip3 install libvhdi-python && \
pip3 install pytsk3 && \
pip3 install python-registry && \
pip3 install python-evtx && \
pip3 install lxml && \
pip3 install XlsxWriter && \
pip3 install py-tlsh && \
pip3 install python-magic && \
pip3 install libvshadow-python && \
pip3 install libscca-python && \
pip3 install libbde-python && \
pip3 install libevtx-python && \
pip3 install pycryptodome && \
pip3 install signify && \
pip3 install xmltodict && \
pip3 install lnkparse3
WORKDIR /tmp
RUN git clone https://github.com/Markus-D-M/dfxlibs.git
WORKDIR /tmp/dfxlibs
RUN python3 setup.py build
RUN python3 setup.py install
RUN python3 -m pip cache purge
# Set terminal to UTF-8 by default
RUN locale-gen de_DE.UTF-8 && update-locale LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8
ENV LANG de_DE.UTF-8
ENV LC_ALL de_DE.UTF-8
WORKDIR /cases
ENTRYPOINT ["/usr/local/bin/dfxlibs"]