Fixing docker

This commit is contained in:
Andraž Jelenc 2020-10-20 10:09:21 +02:00
parent 20eaf64746
commit 5e422f0d0f
2 changed files with 7 additions and 8 deletions

View File

@ -9,7 +9,7 @@ RUN apk update; \
py-pip \
bash; \
pip3 install -r requirements.txt; \
apk del py-pip python3-dev; \
apk del python3-dev; \
rm -rf /var/cache/apk/* ; \
rm -rf Atomic_Threat_Coverage;
CMD /app/docker-entrypoint.sh

View File

@ -1,9 +1,8 @@
cd scripts
echo "[*] Setting up confluence"
python3 init_confluence.py
python3 main.py -C --init
echo "[*] Setting up markdown"
python3 init_markdown.py
python3 main.py -M --init
echo "[*] Pushing data to confluence"
python3 main.py -C -A
@ -12,13 +11,13 @@ echo "[*] Pushing data to markdown"
python3 main.py -M -A
echo "[*] Creating analytics.csv and pivoting.csv"
python3 yamls2csv.py
python3 main.py -CSV
echo "[*] Creating ATT&CK Navigator profile"
python3 attack_navigator_export.py
python3 main.py -TD-NAV
echo "[*] Creating ATT&CK Navigator profile"
python3 attack_navigator_per_customer_export.py
python3 main.py -TD-NAV-CU
echo "[*] Creating markdown repository and pushing data"
python3 main.py --markdown --auto --init
@ -27,7 +26,7 @@ echo "[*] Creating confluence repository and pushing data"
python3 main.py --confluence --auto --init
echo "[*] Creating elastic index"
python3 es_index_export.py
python3 main.py -ES
echo "[*] Creating visualizations.."
python3 main.py -V