Merge branch 'develop' of personal.github.com:BBVA/kapow into develop
This commit is contained in:
@@ -37,7 +37,6 @@ Kapow! gives you:
|
|||||||
* A remote administration API
|
* A remote administration API
|
||||||
* Opinion free shell integration
|
* Opinion free shell integration
|
||||||
|
|
||||||
|
|
||||||
## Kapow! Curses
|
## Kapow! Curses
|
||||||
|
|
||||||
Kapow! can't help when:
|
Kapow! can't help when:
|
||||||
|
|||||||
+16
-3
@@ -1,7 +1,20 @@
|
|||||||
FROM python:3.7-alpine
|
FROM python:3.7-alpine
|
||||||
RUN apk update && apk add bash curl coreutils file
|
|
||||||
RUN pip install pipenv
|
|
||||||
COPY Pipfile Pipfile.lock /tmp/
|
COPY Pipfile Pipfile.lock /tmp/
|
||||||
RUN cd /tmp && pipenv install --system --deploy
|
|
||||||
COPY bin/* /usr/bin/
|
COPY bin/* /usr/bin/
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
|
||||||
|
RUN apk upgrade --update-cache; \
|
||||||
|
apk add \
|
||||||
|
bash \
|
||||||
|
curl \
|
||||||
|
coreutils \
|
||||||
|
file; \
|
||||||
|
\
|
||||||
|
pip install pipenv; \
|
||||||
|
\
|
||||||
|
pipenv install --system --deploy;
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/kapow"]
|
ENTRYPOINT ["/usr/bin/kapow"]
|
||||||
|
|||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker build -t bbva/kapow:0.1 .
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
FROM bbva/kapow:0.1
|
FROM bbva/kapow:0.1
|
||||||
RUN apk update && apk add nmap
|
|
||||||
|
RUN apk add nmap
|
||||||
|
|
||||||
COPY nmap.pow /tmp/
|
COPY nmap.pow /tmp/
|
||||||
RUN cd /tmp && pipenv install --system --deploy
|
|
||||||
ENTRYPOINT ["/usr/bin/kapow"]
|
|
||||||
CMD ["server", "/tmp/nmap.pow"]
|
CMD ["server", "/tmp/nmap.pow"]
|
||||||
|
|||||||
Reference in New Issue
Block a user