Last active
August 29, 2015 14:09
-
-
Save gregstewart/b70f15f53edb09d0bdda to your computer and use it in GitHub Desktop.
Dockerfile
This file contains 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
# This is a comment | |
FROM ubuntu:14.04 | |
MAINTAINER Greg Stewart <gregs@tcias.co.uk> | |
RUN apt-get update && apt-get install -y curl --assume-yes | |
RUN \curl -sSL https://get.rvm.io | bash | |
RUN echo 'source /etc/profile.d/rvm.sh' >> ~/.bashrc | |
RUN /usr/local/rvm/bin/rvm-shell -c "rvm requirements" | |
# install Ruby | |
RUN /usr/local/rvm/bin/rvm-shell -c "rvm autolibs enable" | |
RUN /usr/local/rvm/bin/rvm-shell -c "rvm install 2.1.4" | |
RUN /usr/local/rvm/bin/rvm-shell -c "rvm --default use 2.1.4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment