https://github.com/buildkite/ruby-docker-example
An example pipeline that runs Ruby tests using Docker.
https://github.com/buildkite/ruby-docker-example
buildkite docker example pipeline ruby
Last synced: 4 months ago
JSON representation
An example pipeline that runs Ruby tests using Docker.
- Host: GitHub
- URL: https://github.com/buildkite/ruby-docker-example
- Owner: buildkite
- License: mit
- Created: 2016-02-16T06:52:22.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-08-07T10:22:38.000Z (6 months ago)
- Last Synced: 2025-08-28T17:05:12.820Z (5 months ago)
- Topics: buildkite, docker, example, pipeline, ruby
- Language: Ruby
- Homepage: https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main
- Size: 186 KB
- Stars: 9
- Watchers: 24
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Buildkite Ruby Docker Example
[](https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main)
[](https://buildkite.com/new)
This repository is an example [Buildkite](https://buildkite.com/) pipeline that demonstrates how to test a [Ruby](https://www.ruby-lang.org/en/) project using [Docker](https://docker.com/).
👉 **See this example in action:** [buildkite/ruby-docker-example](https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main)
See the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running, or try it yourself:
[](https://buildkite.com/new)
## How it works
This example:
- Uses the [Ruby Docker image](https://hub.docker.com/_/ruby/)
- Defines a [Docker Compose](https://docs.docker.com/compose/) service to run tests
- Uses a simple RSpec test suite for demonstration
Key files:
- [`Dockerfile`](Dockerfile) – defines the Ruby environment
- [`docker-compose.yml`](docker-compose.yml) – defines the app service
- [`pipeline.yml`](.buildkite/pipeline.yml) – uploads the pipeline
## License
See [LICENSE.md](LICENSE.md) (MIT)