Isolated development environment for gocd in docker
1.4K
This is an opinionated development environment for GoCD using docker image to pull all required tools.
This image allows to build and partially test gocd. It can be used in CI system or as a base for developer workstation.
IDE stands for Isolated development environment. This image conforms to some of the ideas in IDE project.
If you have
ide scriptThen you can build GoCD with
echo 'IDE_DOCKER_IMAGE="tomzo/gocd-ide:latest"' > Idefile
ide gradle clean prepare fatJar
This will pull tomzo/gocd-ide:latest image and build GoCD jars in docker.
sudo fakeroot git nsis rpm unzip zip rake wgetsubversion and mercurial for testing SCMsfpm for packagingLet's assume ~/code/open/go/gocd contains a checkout of gocd
or a fork of it.
Then you can run any gocd build command with:
docker run -ti --rm -v ~/code/open/go/gocd:/ide/work -v ~:/ide/identity:ro tomzo/gocd-ide COMMAND
In non-interactive environments you should skip -ti option.
Any compilation or test results will be available locally in
the mounted directory ~/code/open/go/gocd
To create windows package bundled oracle jre is used. You set your own URLs for download with
gocd repository should contain Idefile with
IDE_DOCKER_IMAGE=tomzo/gocd-ide:TAG
Thus declaring exact image which is a good enough to build and develop gocd.
Content type
Image
Digest
Size
893.9 MB
Last updated
over 9 years ago
docker pull tomzo/gocd-ide