Provide Makefile target to start Gerrit-CI on OSX

The Gerrit-CI could not be started on OSX for two reasons:

1) '--net=host' is not supported
2) Jenkins is not able to use docker.sock due to permission issues

Since it would be useful to be able to start the Gerrit CI locally on
OSX, this change adds a new make target 'make start_osx' that starts the
Gerrit-CI with the configuration necessary for OSX. The issues were
solved as follows:

1) Instead of using the host-network, the port 8080 is mapped to the
   container port 8080 to make the Jenkins UI accessible.
2) The docker API is exposed on port 1234 using a docker container
   running socat (ONLY do that for testing!). The already existing
   xslt-script is used to adapt the docker URL configured in
   Jenkins accordingly.

Change-Id: Iae733dd5542a541eafc1789ae90c8c867940b31f
4 files changed
tree: 2c476039a1a9abb5f20023905a364eb804a087e9
  1. jenkins/
  2. jenkins-docker/
  3. worker/
  4. .gitignore