hakbot / hakbot-origin-controller

Vendor-Neutral Security Tool Automation Controller (over REST)
29 stars 18 forks source link

Dockerize Packaging #15

Open stevespringett opened 8 years ago

stevespringett commented 8 years ago

In addition to creating a war, the release process should output a dockerfile and push each release to docker hub.

stevespringett commented 7 years ago

410dd8f86828087bde71277aec5bebe1c7105067

JerryZeke commented 7 years ago

HI steve Iam Jerry I will stard by saying what a wonderful concept You have. As a IT Consultant this tool is the game changer for me Ive been working on eclipse and tomcat on windows although my main software is Debian for almost 6 days now I can't copy origin-controller.war to the webapps directory and use it in localhost to View the program on my host page.Iam not doing something right. If possible Email me Iam almost always available and if your familiar whit TeamViewer You can remotely Show me whier Iv'e Gone wrong Thanks steve I relly need your help, looking forward to hearing from you..

stevespringett commented 7 years ago

Jerry, ensure you're running Java 8 and Maven 3, then execute:

mvn clean package docker build -f src/main/docker/Dockerfile -t hakbot . docker run -p 8080:8080 -t hakbot

The first line compiles and packages it as a war. The second/third line builds a docker container and executes it.

Once 1.0.0 is released, I plan on having pre-built Docker containers available on Docker Hub for super-simple discovery and execution.

JerryZeke commented 7 years ago

Thanks Steve I really do appreciate your help. Ive made the war file Iam running apache tom 8.0.39 as for eclipse I am useing jee neon 2. I also tried the maven 3 page whit the drag and drop update I am getting http:/ status 404-/hakbot%20 project/  I don't know  what's wrong  Also will the docket run on port 4444 because my vm is useing ports on 8080 so I used port 4444 because it's open. Could that be the reason? I think it would be easy for me to stared from step one again . And maybe I could get you over on team viewer to show how its done properly. that would really help me out a lot Steve at any expense. if you have the time let me know exactly when and I will email you my team viewer I'D & pass word.Allowing you to do a remote control of my pc to just have a look for me its something iam not getting right .and thanks for your prompt reply yesterday.

JerryZeke commented 7 years ago

I fixed all of tomcat default ports by port forwarding useing 8080 8005 8009 are all runing now. But iam still not seeing the origin page in its directory.http:/ status 404-/hakbot%20