1
0
Fork 0

Update Dockerfile
continuous-integration/drone/push Build is failing Details

master
Ambrose Chua 2018-12-02 02:06:18 +08:00 committed by GitHub
parent 7b4118e97a
commit cef8ccee03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -5,11 +5,14 @@ USER root
# required for pwntools # required for pwntools
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
# capstone pip version (in pwntools) conflict with capstone distro version, so install pip version first
RUN pip3 install capstone
RUN apk add --no-cache \ RUN apk add --no-cache \
libcrypto1.1@edge libssl1.1@edge radare2@community \ libcrypto1.1@edge libssl1.1@edge radare2@community \
volatility \ volatility \
john \ john \
libffi-dev libressl-dev linux-headers python3-dev \ libffi-dev libressl-dev lzo-dev linux-headers python3-dev \
httpie \ httpie \
jq \ jq \
socat \ socat \
@ -19,20 +22,20 @@ RUN apk add --no-cache \
graphicsmagick \ graphicsmagick \
testdisk \ testdisk \
squashfs-tools \ squashfs-tools \
lzo-dev \
libpcap libpcap
# required for pwntools # required for pwntools
RUN apk add --no-cache \ RUN wget -O /tmp/pandoc.tar.gz \
python2 \ https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-linux.tar.gz \
&& pip3 install \ && tar -xvf /tmp/pandoc.tar.gz --strip=1 -C /usr/local \
unicorn pandoc && rm /tmp/pandoc.tar.gz
RUN pip3 install \ RUN pip3 install \
pwntools \ pwntools \
requests \ requests \
python-lzo \ python-lzo \
crcmod crcmod
# lzo-dev, python-lzo and crcmod for ubidump.py
RUN git clone https://github.com/bwall/HashPump.git \ RUN git clone https://github.com/bwall/HashPump.git \
&& cd HashPump \ && cd HashPump \
@ -59,9 +62,7 @@ RUN wget -O /usr/local/bin/ubidump.py \
RUN wget -O /tmp/sqlmap.tar.gz \ RUN wget -O /tmp/sqlmap.tar.gz \
https://github.com/sqlmapproject/sqlmap/tarball/master \ https://github.com/sqlmapproject/sqlmap/tarball/master \
&& mkdir -p /usr/local/lib/sqlmap \ && tar -xvf /tmp/sqlmap.tar.gz --strip=1 -C /usr/local/lib/sqlmap \
&& cd /usr/local/lib/sqlmap \
&& tar -xvf /tmp/sqlmap.tar.gz --strip=1 \
&& rm /tmp/sqlmap.tar.gz \ && rm /tmp/sqlmap.tar.gz \
&& ln -s /usr/local/lib/sqlmap/sqlmap.py /usr/local/bin/sqlmap && ln -s /usr/local/lib/sqlmap/sqlmap.py /usr/local/bin/sqlmap