Updated some dockerfiles

This commit is contained in:
Tobias Kessels
2018-08-09 21:03:19 +02:00
parent e2c074f54f
commit c5e9ddb08b
2 changed files with 25 additions and 4 deletions

View File

@@ -5,11 +5,12 @@ USER root
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git \ git \
python3-lxml \ python3-lxml \
python-libemu \
libemu2 \ libemu2 \
libemu-dev \ pkg-config \
libboost-all-dev \ autoconf \
python-pil \
python-pip ; \ python-pip ; \
pip install pylibemu ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN groupadd -r nonroot && \ RUN groupadd -r nonroot && \
@@ -18,10 +19,11 @@ RUN groupadd -r nonroot && \
chown -R nonroot:nonroot /home/nonroot chown -R nonroot:nonroot /home/nonroot
RUN git clone https://github.com/jesparza/peepdf /opt/peepdf RUN git clone https://github.com/jesparza/peepdf /opt/peepdf
RUN git clone https://github.com/DidierStevens/DidierStevensSuite /opt/DidierStevensSuite
USER root USER root
WORKDIR /home/nonroot/ WORKDIR /home/nonroot/
#RUN pip install -v pyv8
RUN ln -s /opt/peepdf/peepdf.py /bin/peepdf.py RUN ln -s /opt/peepdf/peepdf.py /bin/peepdf.py
RUN chmod +x /bin/peepdf.py RUN chmod +x /bin/peepdf.py

View File

@@ -0,0 +1,19 @@
FROM ubuntu:16.04
MAINTAINER tabledevil
RUN groupadd -g 999 user && \
useradd -r -u 999 -g user user
RUN echo "deb http://ppa.launchpad.net/gift/dev/ubuntu xenial main" > /etc/apt/sources.list.d/gift.list
RUN echo "deb-src http://ppa.launchpad.net/gift/dev/ubuntu xenial main" >> /etc/apt/sources.list.d/gift.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 10C598B8
RUN apt update && apt install -y \
python-plaso \
plaso-tools \
python-elasticsearch \
&& rm -rf /var/lib/apt/lists/*
USER user