File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:latest
1
+ FROM python:2.7-alpine
2
2
3
- RUN apt-get update && apt-get install -y python python-pip git mongodb
3
+ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.9/main' >> /etc/apk/repositories
4
+ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.9/community' >> /etc/apk/repositories
5
+ RUN apk update && apk add mongodb git
4
6
5
7
RUN git clone https://github.com/codingo/NoSQLMap.git /root/NoSqlMap
6
8
@@ -9,7 +11,6 @@ WORKDIR /root/NoSqlMap
9
11
RUN python setup.py install
10
12
11
13
COPY entrypoint.sh /tmp/entrypoint.sh
12
-
13
14
RUN chmod +x /tmp/entrypoint.sh
14
15
15
16
ENTRYPOINT ["/tmp/entrypoint.sh" ]
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+ services :
3
+ nosqlmap :
4
+ image : nosqlmap:latest
5
+ build :
6
+ context : .
Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
- exec python nosqlmap.py
1
+ #! /bin/ash
2
+ python nosqlmap.py
You can’t perform that action at this time.
0 commit comments