Git Product home page Git Product logo

ruby-docker-example's Introduction

Buildkite Ruby Docker Example

Add to Buildkite

This repository is an example on how to test a Ruby project using Buildkite and Docker. It uses the standard Ruby Docker image and Buildkite’s Docker-based Builds.

Running locally

To run this locally:

$ docker-compose run app rspec --color specs
Building app
Step 1/6 : FROM ruby:2.7
 ---> fb53c5f433da
Step 2/6 : RUN mkdir /app
 ---> Using cache
 ---> 0d79a968fbbb
Step 3/6 : WORKDIR /app
 ---> Using cache
 ---> 20faa284ae78
Step 4/6 : ADD Gemfile Gemfile.lock /app/
 ---> 050ec65cce16
Step 5/6 : RUN bundle install -j 8
 ---> Running in 3102f1bf36cd
Fetching gem metadata from https://rubygems.org/..........
Using bundler 2.1.2
Fetching rspec-support 3.4.1
Fetching diff-lcs 1.2.5
Installing diff-lcs 1.2.5
Installing rspec-support 3.4.1
Fetching rspec-expectations 3.4.0
Fetching rspec-mocks 3.4.1
Fetching rspec-core 3.4.2
Installing rspec-core 3.4.2
Installing rspec-expectations 3.4.0
Installing rspec-mocks 3.4.1
Fetching rspec 3.4.0
Installing rspec 3.4.0
Bundle complete! 1 Gemfile dependency, 7 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Removing intermediate container 3102f1bf36cd
 ---> 417ad2370e72
Step 6/6 : ADD . /app
 ---> 593b562046e7
Successfully built 593b562046e7
Successfully tagged ruby-docker-example_app:latest
WARNING: Image for service app was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
.

Finished in 0.00044 seconds (files took 0.05898 seconds to load)
1 example, 0 failures

License

See Licence.md (MIT)

ruby-docker-example's People

Contributors

agonzalez-kanteron avatar m1k1o avatar plaindocs avatar renovate-bot avatar toolmantim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.