/docker-ci

Docker image for Continuous Integration - For Academic Purposes Only

Primary LanguageShell

Docker Continuous Integration

This image contains a Jenkins and a Sonar installation

  • Jenkins 1.647 with plugins:

    • git
    • git-client
    • scm-api
    • build-pipeline-plugin
    • parameterized-trigger
    • jquery
    • conditional-buildstep
    • run-condition
    • token-macro
    • copyartifact
    • promoted-builds
    • groovy-postbuild
  • Sonar 5.3_all

    • sonar-javascript-plugin-2.10
    • sonar-groovy-plugin-1.3.1
    • sonar-scalastyle-plugin-0.0.1-SNAPSHOT
  • Java 1.8

  • Node

  • Gulp

  • Grunt

  • Bower

  • PhantomJS

Some useful commands:

# Build the image
$ docker build --tag="ehdez73/docker-ci" .

# Run a container
$ docker docker run -d \
      -p 8888:8080 \
      -p 9000:9000 \
      -p 9092:9092 \
      --name="ci" \
      ehdez73/docker-ci

# Attach to the container
$ docker exec -i -t ci /bin/bash

# Stop the container
$ docker stop ci

# Re-start the container
$ docker start ci

# remove the container
$ docker rm ci

# remove the image
$ docker rmi ehdez73/docker-ci

Usage