dockerfiles/routersploit/Dockerfile
Jess Frazelle 3e0fc7968f
better git clones
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-12-27 17:04:58 -08:00

20 lines
552 B
Docker

FROM debian:sid
MAINTAINER Christian Koep <christian.koep@fom-net.de>
ENV ROUTERSPLOIT_VERSION v2.2.1
RUN apt-get update && apt-get install -y \
git \
python-requests \
python-paramiko \
python-pysnmp-common \
python-bs4 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& git clone --depth 1 --branch "${ROUTERSPLOIT_VERSION}" https://github.com/reverse-shell/routersploit /usr/bin/routersploit \
&& apt-get purge -y --auto-remove \
git
WORKDIR "/usr/bin/routersploit/"
ENTRYPOINT [ "./rsf.py" ]