I've got two requirements to make GoCD useful:
1. Run both the server and agent(s) in Docker
2. Make it python-friendly
Fortunately, GoCD offers Docker images (and Dockerfiles) for both, so it's just a matter of extending it:
FROM gocd/gocd-agent-ubuntu-16.04:v17.11.0