Install bulk_extractor from GIFT PPA

This commit is contained in:
Jason Solomon 2020-10-13 16:23:33 +11:00
parent 4a408268ff
commit ff2fba446b

View file

@ -19,16 +19,15 @@ FROM ubuntu:18.04
RUN apt update
RUN apt -y install apt-utils && apt -y upgrade && apt -y dist-upgrade
# Setup install environment and DFDewey dependencies
RUN apt install -y build-essential git autoconf automake flex gcc g++ libewf-dev libssl-dev zlib1g-dev libxml2-dev dpkg-dev openssl patch wget bison
# TODO(dfjxs): Package and install from GIFT PPA
RUN git clone --recursive https://github.com/simsong/bulk_extractor
RUN cd bulk_extractor && autoheader -f && aclocal -I m4 && autoconf -f && automake --add-missing --copy && ./configure && make -j $(nproc) && make install
RUN rm -Rf ./bulk_extractor
# Setup DFDewey dependencies
RUN apt -y install software-properties-common
RUN add-apt-repository ppa:gift/stable
RUN apt update
RUN apt -y install bulk-extractor git
# Setup dfDewey
RUN git clone https://github.com/google/dfdewey.git
RUN apt install -y python3 python3-pip python3-dev
RUN apt -y install python3 python3-pip python3-dev
RUN pip3 install -r dfdewey/requirements.txt
COPY dfdewey /usr/bin/
RUN chmod a+x /usr/bin/dfdewey