Bootstrap CircleCI Setup with Docker 🐳
CircleCI maintains a collection of Docker containers, pre-installed with different languages and tools.
These include language image variants that can eliminate a lot of CI setup churn. I recently used the -browsers
variant, which ships with Chrome, Firefox, Java 8, and Geckodriver.
Here's how you could use such a container.
# .config/circle.yml
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.5.1-browsers
steps:
- run: rake
Tweet