This repo contains scripts and source to build docker images for:
- go continuous delivery server
- go continuous delivery agent
The images are based on CentOS 6.5. Trusted builds are at:
- https://registry.hub.docker.com/u/jumanjiman/gocd-agent/
- https://registry.hub.docker.com/u/jumanjiman/gocd-server/
# List active containers.
docker ps
# List all containers.
docker ps -a
# Follow logs from a container.
docker logs -f <container-id>
-
Install https://github.com/jpetazzo/nsenter
docker run --rm -v /tmp:/target jpetazzo/nsenter
-
Enter a container:
# This example assumes the gocd-agent container. PID=$(docker inspect --format {{.State.Pid}} gocd-agent.service) sudo /tmp/nsenter --target $PID --mount --uts --ipc --net --pid # This example assumes the gocd-server container. PID=$(docker inspect --format {{.State.Pid}} gocd-server.service) sudo /tmp/nsenter --target $PID --mount --uts --ipc --net --pid
-
Poke around, then
CTRL-D
when done.
See CONTRIBUTING.md in this repo.
See DEPLOY.md in this repo.
If you only want to see it in action, run this command from the repo:
script/test
jumanjiman/gocd-*
trusted builds and
can take several minutes to complete.
See LICENSE in this repo.
- Ubuntu image: https://github.com/extraordinaire/docker-gocd-server
- Ubuntu image: https://github.com/extraordinaire/docker-gocd-agent
- Windows package: https://chocolatey.org/packages/Thoughtworks.Go.Agent