Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Add axiom account profile before configuration

Sébastien GAUTRIASb428a4f32c0c
diff --git a/Docker/Dockerfile b/Docker/Dockerfile
index 0fb6f07..a66b92a 100644
--- a/Docker/Dockerfile
+++ b/Docker/Dockerfile
@@ -133,11 +133,10 @@ ssh-keygen -b 2048 -t rsa -f /root/.ssh/axiom_rsa -q -N ""
cat /root/.ssh/axiom_rsa.pub > /root/.axiom/configs/authorized_keys
eot
-RUN axiom-account personal
-RUN az group delete --name axiom --yes --no-wait
-
COPY axiom-config.ini /root/.axiom/configs/config.ini
COPY axiom-custom-provider.json /root/.axiom/accounts/personal.json
+RUN axiom-account personal
+RUN az group delete --name axiom --yes --no-wait
# This command exits with return code 1, so leave the '|| :' or the build will fail.
RUN axiom-build reconftw || :