Firstly, build the Docker image:
curl https://gist.githubusercontent.com/toolmantim/c731730b4b4b7989f8f045956346bcfe/raw/Dockerfile | docker build -t bk -
Then try to use it in a project that has a buildkite pipeline.yml file:
docker run -it --rm -v "$(PWD):/app" bk run local