diff --git a/configs/pwn-lab/Dockerfile b/configs/pwn-lab/Dockerfile index 0c79395929c306123e1e457190000363964d90ad..c22f040d9fe5db933711e0a02ca3f28755716df7 100644 --- a/configs/pwn-lab/Dockerfile +++ b/configs/pwn-lab/Dockerfile @@ -1,6 +1,42 @@ FROM tinylab/cloud-ubuntu-cinnamon:20220714 MAINTAINER Wu Zhangjin +RUN echo '#! /bin/sh\n\ +env DEBIAN_FRONTEND=noninteractive apt-get autoremove -y\n\ +apt-get clean\n\ +find /var/lib/apt/lists -type f -delete\n\ +find /var/cache -type f -delete\n\ +find /var/log -type f -delete\n\ +exit 0\n\ +' > /cleanup && chmod +x /cleanup + +RUN apt-get -y update +RUN apt-get -y install python3-pip \ + && pip install pqi \ + && pqi use tuna + +RUN apt-get -y install --no-install-recommends \ + wget \ + curl \ + gcc \ + g++ \ + git \ + openssh-client \ + python-capstone \ + vim \ + gedit \ + gedit-plugins \ + gdb \ + autoconf \ + automake \ + libtool \ + && /cleanup + +RUN apt-get update +RUN apt-get -y install --no-install-recommends \ + ruby \ + && /cleanup + EXPOSE 5900 22 WORKDIR /labs/