Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ekultek
committed
Dec 15, 2019
1 parent
b4ddbaf
commit db6882b
Showing
6 changed files
with
31 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM debian:sid | ||
LABEL version="1.1" | ||
LABEL description="WhatWaf Dockerized" | ||
LABEL author="Ekultek" | ||
COPY bootstrap.sh /tmp/bootstrap.sh | ||
RUN chmod +x /tmp/bootstrap.sh | ||
RUN bash -c /tmp/bootstrap.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
######## | ||
# | ||
# script that will be ran by docker | ||
# | ||
######## | ||
|
||
apt-get update && apt-get install -y python python-pip git rsync | ||
if [[ ! -d /tmp/ww ]]; then | ||
mkdir -p /tmp/ww | ||
fi; | ||
cd /tmp/ww && git clone https://github.com/ekultek/whatwaf && cd whatwaf | ||
pip install pyyaml pysocks | ||
pip install -r requirements.txt | ||
echo "root" | python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters