1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/routersploit/Dockerfile
2016-07-09 02:26:37 +08:00

35 lines
880 B
Docker

#
# Dockerfile for routersploit
#
FROM alpine
MAINTAINER EasyPi Software Foundation
WORKDIR /app
RUN set -xe \
&& apk add -U bash \
build-base \
curl \
libffi \
libffi-dev \
ncurses-dev \
python \
python-dev \
readline-dev \
tar \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& curl -sSL https://github.com/reverse-shell/routersploit/archive/master.tar.gz | tar xz --strip 1 \
&& pip install -r requirements.txt \
&& apk del bash \
build-base \
curl \
libffi-dev \
ncurses-dev \
python3-dev \
readline-dev \
tar \
&& rm -rf /var/cache/apk/*
ENTRYPOINT ["/app/rsf.py"]