Last active
August 29, 2015 14:00
-
-
Save ktheory/e5815665c73a0eaa021d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:14.04 | |
| MAINTAINER aaron@ktheory.com | |
| RUN apt-get update | |
| RUN apt-get install -y build-essential libssl-dev curl | |
| # Install ruby-build | |
| RUN export ruby_build_release=20140420 && \ | |
| curl -L https://github.com/sstephenson/ruby-build/archive/v$ruby_build_release.tar.gz | tar -C /tmp -zx && \ | |
| cd /tmp/ruby-build-$ruby_build_release && \ | |
| ./install.sh && \ | |
| cd /tmp && \ | |
| rm -r /tmp/ruby-build-$ruby_build_release && \ | |
| mkdir -p /usr/local/ruby | |
| # Install ruby 2.1.1 | |
| RUN ruby-build 2.1.1 /usr/local/ruby/2.1.1 | |
| RUN ruby-build 1.9.3-p545 /usr/local/ruby/1.9.3-p545 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment