Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
FROM debian:stretch-20170907
# FROM debian:stretch-20170907
FROM debian:bullseye

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y apt-utils \
forensics-all \
foremost \
binwalk \
exiftool \
outguess \
pngtools \
pngcheck \
stegosuite \
git \
hexedit \
python3-pip \
python-pip \
autotools-dev \
automake \
libevent-dev \
bsdmainutils \
ffmpeg \
crunch \
cewl \
sonic-visualiser \
xxd \
atomicparsley && \
pip3 install python-magic && \
pip install tqdm
apt-get install -y --no-install-recommends \
apt-utils \
forensics-all \
foremost \
binwalk \
exiftool \
outguess \
pngtools \
pngcheck \
stegosuite \
git \
hexedit \
python3-pip \
autotools-dev \
automake \
libevent-dev \
bsdmainutils \
ffmpeg \
crunch \
cewl \
sonic-visualiser \
xxd \
atomicparsley && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN pip3 install --no-cache-dir python-magic tqdm

COPY install /tmp/install
RUN chmod a+x /tmp/install/*.sh && \
for i in /tmp/install/*.sh;do echo $i && $i;done && \
for script in /tmp/install/*.sh; do /bin/bash "$script"; done && \
rm -rf /tmp/install

# Use this section to try new installation scripts.
# All previous steps will be cached
#
# COPY install_dev /tmp/install
# RUN find /tmp/install -name '*.sh' -exec chmod a+x {} + && \
# for f in $(ls /tmp/install/* | sort );do /bin/sh $f;done && \
# rm -rf /tmp/install

COPY examples /examples

# COPY scripts /opt/scripts
# RUN chmod a+x /opt/scripts/*.{sh,py}

COPY scripts /opt/scripts
RUN find /opt/scripts -name '*.sh' -exec chmod a+x {} + && \
find /opt/scripts -name '*.py' -exec chmod a+x {} +
RUN if [ -d /opt/scripts ]; then \
find /opt/scripts -type f \( -name '*.sh' -o -name '*.py' \) -exec chmod a+x {} +; \
fi

ENV PATH="/opt/scripts:${PATH}"

WORKDIR /data