Minimal Ruby - for when you just don't feel like installing rbenv.
583
Minimal Ruby - for when you just don't feel like installing rbenv and compiling Ruby for the umpteenth time.
This is a Docker Container alongside a suggested Docker Compose file. It makes use of official Ruby Alpine container with some additions:
Copy the docker-compose.yml into your project, treat each "service" as an alias.
Since no reliable piece of Ruby software exists without a Gemfile, this is the primary means of interaction. To start off:
docker-compose run --rm bundle install
After that, run whatever command you want e.g.
docker-compose run --rm bundle exec rspec
You may need this if you want to run a command that does not begin with bundle. Opens an interactive shell.
docker-compose run --rm sh
Run commands using:
docker run --rm -it -v "${PWD}:/app" bentheax/minimal-ruby bundle ...
Content type
Image
Digest
Size
93.3 MB
Last updated
over 9 years ago
docker pull bentheax/minimal-ruby