You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/Dockerfile

16 lines
506 B
Docker

# This dockerfile was created for development & testing purposes
#
# Build as: docker build -t pwndbg .
#
# For testing use: docker run --rm -it --cap-add=SYS_PTRACE pwndbg bash
#
# For development, mount the directory so the host changes are reflected into container:
# docker run -it --cap-add=SYS_PTRACE -v `pwd`:/pwndbg pwndbg bash
#
FROM ubuntu:20.04
ADD . /pwndbg/
RUN cd /pwndbg && DEBIAN_FRONTEND=noninteractive ./setup.sh
RUN echo 'source /pwndbg/gdbinit.py' >> ~/.gdbinit.py