mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-30 01:50:01 +03:00
Added alpine-based Dockerfile
This commit is contained in:
parent
f60727a891
commit
61e74df753
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
FROM python:2-alpine
|
||||||
|
|
||||||
|
RUN apk add --update git
|
||||||
|
RUN pip install bs4
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
RUN git clone https://github.com/sqlmapproject/sqlmap.git sqlmap
|
||||||
|
|
||||||
|
RUN chmod +x /root/sqlmap/sqlmap.py
|
||||||
|
|
||||||
|
RUN ln -s /root/sqlmap/sqlmap.py /usr/bin/sqlmap
|
||||||
|
|
||||||
|
ENTRYPOINT ["sqlmap"]
|
||||||
|
|
||||||
|
CMD ["-h"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user