Docker – Jenkins Image

I am building jenkins slave using docker image.

Need to install git on to the docker image. How can i do that.

  • Issue mounting docker volume with docker-compose
  • Docker support - Google App Engine (Java)
  • Simple HTTP proxy / routing for my docker containers?
  • Docker: ECS vs Beanstalk vs Docker Cloud
  • Node version not upgrading
  • How to set up Docker development environment on Debian?
  • Is there any docker image for git that can be used.

    thanks

  • how to run two microservices on same network?
  • How can I pass a multi-line variable to a docker container?
  • running container from private registry with docker swarm
  • Compile a java file using docker with own path
  • How to get back to life docker container?
  • Access Token for Dockerhub
  • 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]
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.