Skip to content
Dojo docker image for GoCD development
Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
image
test/integration
.gitignore
.gitmodules
CHANGELOG.md
LICENSE.txt
README.md
ci.gocd.yaml
tasks

README.md

GoCD development environment in docker

This is development environment for GoCD built using Dojo and official scripts used by the CI agents at https://build.gocd.org

This image allows to build and test GoCD. It can be used to build your fork or locally test a PR.

Usage

  1. Install docker, if you haven't already.
  2. Install Dojo, it is a self-contained binary, so just place it somewhere on the PATH. On Linux:
DOJO_VERSION=0.4.0
wget -O dojo https://github.com/ai-traders/dojo/releases/download/${DOJO_VERSION}/dojo_linux_amd64
sudo mv dojo /usr/local/bin
sudo chmod +x /usr/local/bin/dojo
  1. Checkout and cd into gocd project directory, then start docker container:
git clone https://github.com/gocd/gocd.git
cd gocd
dojo --image=kudulab/gocd-dojo

This will enter a docker container with all tools needed for building gocd. Your local copy of gocd is in current directory /dojo/work.

In order to build GoCD, you can use gradlew, for example to build debian packages and generic zip distribution:

./gradlew clean serverPackageDeb agentPackageDeb agentGenericZip versionFile

You will find the artifacts in installers/target/distributions.

License

Copyright 2019 Tomasz Sętkowski

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.