Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kazu69/docker-rbenv

Docker image based on centos with rbenv
https://github.com/kazu69/docker-rbenv

Last synced: 27 days ago
JSON representation

Docker image based on centos with rbenv

Awesome Lists containing this project

README

        

docker-rbenv
============

Create a dokcer container that can take advantage of multiple versions of ruby using rbenv.

## Usage

Add to ```project/.ruby-version``` multiple versions.
For example below

```text
2.0.0-p451
2.1.0
```

You can dcoker provisioning in VM using Vagrant

```sh
# provisioning
vagrant up
```

You can use docker in VM.

```
vagrant ssh
sudo docker run -i -t kazu69/ruby_versions (or you container tag) /bin/bash
```

if not using Vagrant

```
cd project && docker build -t TAG .
```