This repository is an example on how to test a Golang project through Docker using Buildkite.
See the full Getting Started Guide for step-by-step instructions on how to get this running, or Add to Buildkite to try it yourself.
-
Ensure
docker-compose
is installed on your build system. For details on how to do this, see: https://docs.docker.com/compose/install/ -
Use our
Dockerfile
anddocker-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
See Licence.md (MIT)