CTFDocker/Dockerfile

26 lines
931 B
Docker
Raw Normal View History

2022-05-06 13:38:50 +02:00
FROM alpine
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk update \
&& apk add radare2 git exiftool file gdb vim \
#
# GENERECIC
&& apk add python3-dev py3-pip python3-dbg gcc g++ libc-dev libc6-compat automake \
#
# BINWALK DEPENDENCIES
&& apk add mtd-utils gzip bzip2 tar p7zip cabextract cramfs squashfs-tools sleuthkit openjdk18-jdk lzop \
&& cd ~ && git clone https://github.com/ReFirmLabs/binwalk.git && cd binwalk \
&& pip3 install nose coverage pycryptodome \
&& python3 setup.py install \
#
# GDB
&& cd ~ && git clone https://github.com/apogiatzis/gdb-peda-pwndbg-gef.git \
&& cd ~/gdb-peda-pwndbg-gef \
&& sed -i 's/sudo//g' install.sh && ./install.sh \
#
# ENDING
2022-05-06 14:00:47 +02:00
&& mkdir -p 42ctf
2022-05-06 13:38:50 +02:00
2022-05-06 14:00:47 +02:00
WORKDIR /42ctf