From bfdc671550bbc2a731213761d3cf4ba90da22b22 Mon Sep 17 00:00:00 2001 From: Darren Hartford Date: Thu, 23 Mar 2017 15:15:26 -0400 Subject: [PATCH 1/2] Update Dockerfile Fix entrypoint to avoid silent failed start when using vagrant boot2docker approach. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 93199cc..aa19637 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ RUN wget https://storage.googleapis.com/threadfix/threadfix.war EXPOSE 8443 WORKDIR /Threadfix RUN chmod +x threadfix.sh -ENTRYPOINT ["./threadfix.sh"] +ENTRYPOINT ["./threadfix.sh start"] From 5ca7e8bb6aef61f79a22ea92f5108e60cb69fa56 Mon Sep 17 00:00:00 2001 From: Darren Hartford Date: Thu, 23 Mar 2017 17:07:38 -0400 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aa19637..84cf05a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,15 @@ MAINTAINER Jimmy Mesta <@jimmesta> RUN apt-get update && apt-get install -y openjdk-7-jdk wget RUN mkdir Threadfix COPY Install /Threadfix + +# Recommend building your own threadfix.war from https://github.com/denimgroup/threadfix +# Then manually adding to INSTALL/tomcat/webapps/threadfix.war (rename to this name) +# And comment out the next two steps, as they are unlikely to work. WORKDIR /Threadfix/tomcat/webapps RUN wget https://storage.googleapis.com/threadfix/threadfix.war + EXPOSE 8443 WORKDIR /Threadfix RUN chmod +x threadfix.sh -ENTRYPOINT ["./threadfix.sh start"] + +ENTRYPOINT ["./threadfix.sh","start"]