pwntools-tmux-podman/Dockerfile

13 lines
411 B
Text
Raw Normal View History

2022-05-10 18:54:42 +02:00
FROM ubuntu:latest
RUN mkdir /PWD
RUN apt-get -y update
RUN apt-get -y upgrade
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y install gdb gdbserver python3 python3-pip python-is-python3 libc6-i386
RUN pip install pwntools
ADD spawn-on-host-tmux.sh /bin/spawn-on-host-tmux.sh
RUN chmod +x /bin/spawn-on-host-tmux.sh
RUN ln -s /bin/spawn-on-host-tmux.sh /bin/pwntools-terminal
WORKDIR /PWD
ENTRYPOINT ["bash"]