Developer's workstation for gocd development
909
This image is meant for GoCD developers. It aims to have all tools that you need to contribute to GoCD.
Built on top of tomzo/gocd-ide, contains additional tools for human developers:

xhost +
Clone gocd from github (not so quick)
git clone [email protected]:gocd/gocd.git
Start container with all tools and configuration that you need.
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`/gocd:/ide/work -v ~:/ide/identity:ro -e DISPLAY="unix:0.0" tomzo/gocd-workstation
2 windows should pop up at you - a terminal titled GoCD IDE and Intellij IDEA.
Lately, I often run into problems using intellij with gradle.
String, you may be affected by this bug
and need to re-apply the SDK home path (Click on it and select same path again). After this more jars should be listed in the window.File -> Invalidate Caches/RestartYou can start docker in non-interactive mode
docker run -p 8153 -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/code/gocd:/ide/work -v ~:/ide/identity:ro -e DISPLAY="unix:0.0" tomzo/gocd-workstation
This will open intellij and terminator.
You can also start docker in interactive mode.
docker run -ti -p 8153 -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/code/gocd:/ide/work -v ~:/ide/identity:ro -e DISPLAY="unix:0.0" tomzo/gocd-workstation
This will put you in the container in bash shell.
All tools from gocd IDE image
are available, for example:
go-compile # compiles all source code mounted in /ide/work
go-build-installer # builds gocd packages from source code in /ide/work
intellij &
Add this to your docker-compose.yml
gocd:
image: tomzo/gocd-workstation
container_name: gocdide
mem_limit: 4096M # recommended
environment:
DISPLAY: unix:0.0
stdin_open: false
tty: false
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /home/tomzo/code/gocd:/ide/work
- /home/tomzo:/ide/identity:ro
Content type
Image
Digest
Size
1.5 GB
Last updated
over 8 years ago
docker pull tomzo/gocd-workstation