Sign inSign up

onesaitplatform/jenkins

By onesaitplatform

Updated almost 7 years ago

Jenkins Docker image with built-in Maven 3.3.9 and Docker engine (Docker in Docker)

Image
0

230

onesaitplatform/jenkins repository overview

Quick reference

To start this container you can use docker-compose:

version: "2.1"

services:
  jenkinscicd:
    image: onesaitplatform/jenkins:latest
    container_name: jenkinscicd
    ports:
      - "8080:8080"
    volumes:
      - /home/user/jenkins_home:/var/jenkins_home:rw
      - /var/run/docker.sock:/var/run/docker.sock
    restart: on-failure

or you can simply type:

docker run -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/jenkins_home:/var/jenkins_home -p 8080:8080 -d onesaitplatform/jenkins:latest

Jenkins + Maven + Docker Engine

With this image you can build Docker Images inside Jenkins container mapping docker.sock. Furthermore you can use built-in Maven for project building

Tag summary

Content type

Image

Digest

Size

641 MB

Last updated

almost 7 years ago

docker pull onesaitplatform/jenkins