Docker image for testing ruby projects in the context of gitlab-runner
4.8K
Docker image for testing ruby projects in the context of gitlab-runner.
A number of packages are pre-installed to run RubyOnRails environments:
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
Content type
Image
Digest
sha256:3eb05aec5…
Size
635.6 MB
Last updated
over 1 year ago
docker pull zoidenberg/ci-ruby:3.3.8-bundler2.6.8