mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:34 +02:00
35 lines
895 B
Docker
35 lines
895 B
Docker
#
|
|
# Dockerfile for routersploit-arm
|
|
#
|
|
|
|
FROM easypi/alpine-arm
|
|
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"]
|