Use our Dockerfile and docker-compose.yml files as defaults:
cd /your/golang/repo
curl -o Dockerfile https://raw.githubusercontent.com/buildkite/golang-docker-example/master/Dockerfile
curl -o docker-compose.yml https://raw.githubusercontent.com/buildkite/golang-docker-example/master/docker-compose.yml
Replace /go/src/github.com/buildkite/golang-docker-example in the Dockerfile and
docker-compose.yml files with your own Golang import path. For example,
if your import path in Golang looks like this:
Then you would replace /go/src/github.com/buildkite/golang-docker-example
with /go/src/github.com/keithpitt/project (note the sub-package part of
the import is not included). This path should also match the directory
structure within the $GOPATH on your own development machine.
Add to your build pipeline and add the BUILDKITE_DOCKER_COMPOSE_CONTAINER env:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].