Prepare image which is used by tt-ruby app server to check scripts
You can use this image for your project soon. It's uploaded docker.io, fs/tt-ruby-docer.
docker build -t fs/tt-ruby https://github.com/fs/tt-ruby-docker.git
Run it !
docker run -i -t fs/tt-ruby bash -l -c 'ruby ...'
Use Vagrant for VM running docker. Vagrant 1.4 has a Docker provisioner. Download it here.
After installed.
vagrant up
And login to VM.
vagrant ssh
Now you can use docker in VM.
docker build -t TAG .
Dockerfile execute belows;
- Pull base image (this time centos)
- Install packages which are needed to build ruby
- Clone rbenv
- Clone ruby-build
- Install ruby 2.1
- Install Bundler for ruby 2.1
TT Ruby is maintained by Vladimir Mikhailov. It was written by Flatstack with the help of our contributors.
Thank you, tt-ruby, tt-ruby-docker and tt-ruby-checker contributors!
