Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 671 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 671 Bytes

ci-ruby

Docker image for testing ruby projects in the context of gitlab-runner.

A number of packages are pre-installed to run RubyOnRails environments:

  • pronto (link)
  • (to be continued)

Using

Change the ruby version in the Dockerfile if necessary

# --- create volume for gems
docker volume create bundle_vol
# --- create image
docker build -t ci-ruby .
# --- run image with bash
docker run --rm -it -v $(pwd):/app -v bundle_vol:/usr/local/bundle ci-ruby bash
# or whatever you want
# for example, load an image into the docker registers and specify it
# as the base image when registering the gitlab runner