-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker images for maven and gradle #396
Comments
I am already using docker image build from this, trying to integrate with CI. |
@avyasbms yes please ! |
Hi @ptrthomas We integrated the project in CI(bamboo) using dockers
Dockerfile :
Execution of Tests in CI
Let me know if this is something in lines of your thoughts. |
request those watching this repo to weigh in please cc @avyasbms |
A message for all looking for Docker support - there is hardly any need for this because of the standalone JAR / binary - which only needs the JRE as a pre-requisite: https://github.com/intuit/karate/tree/master/karate-netty#standalone-jar |
@ptrthomas unable to download jar from the link mention in document (dl.bintray.com/ptrthomas/karate/) |
@sauravkumar05 you probably tried to "right-click" anyway use the binary with the release-notes: https://github.com/intuit/karate/releases/tag/v0.8.0 |
Was having a need to docker-ize the stand-alone JAR at work, and this can be a reference for others:
|
I have something also, i custom made an image which has the v0.8.0.1 jar in it. Then using a docker-compose to get it up
Also the following jenkinsfile can also help with setting up a jenkins to run docker image containing karate
|
When I run it like |
@76creates nope :| btw IMO there should not be a need to docker-ize the JAR if you have a JRE installed - because of how self-contained it is. I needed to do it (in thread above) because the deployment pipeline was based on docker. |
My solutions for maven docker-compose
dockerfile
I build the above dockerfile and pushed it to the image being used in the docker-compose But the best solution here is |
I tried building a docker image using this suggestion and when I try to run it, it downloads all the dependencies again. |
Seems, it is downloading plugins only. Got rid of unnecessary plugins and it is running well now. |
moving to project roadmap board: https://github.com/intuit/karate/projects/3#card-22529343 |
for anyone landing here, a sample minimalistic Docker file and instructions can be found here: https://github.com/karatelabs/karate/wiki/Get-Started:-Other-Runtime-Options#docker-and-the-standalone-jar |
yes this has come up before, but more requests are coming in for this and apparently makes integration with some CI tools easier
The text was updated successfully, but these errors were encountered: