Docker – Jenkins Image
Need to install git on to the docker image. How can i do that.
Is there any docker image for git that can be used.
3 Solutions collect form web for “Docker – Jenkins Image”
If there is none, you can quickly build one with a small base image (like Alpine), and a directive like:
# Install Git RUN apt-get install git-core --assume-yes
I’ve created a simple docker image that comes packaged with Jenkins, Java8, Git, Maven and NodeJS. This covers most use cases so you don’t have to keep making new Jenkins images every week.
Jenkins + Docker Image
And the relevant github for source code
$ docker search jenkins | grep git stephenreed/jenkins-java8-maven-git Automated build that provides a continuous... 52 [OK]