Created
June 24, 2014 21:45
-
-
Save davidkelley/45d410e9f0ec472cbae8 to your computer and use it in GitHub Desktop.
Rubinius on Ubuntu Trusty (14.04)
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:trusty | |
# Install Ruby | |
RUN apt-get -y update | |
RUN apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
RUN apt-get -y install wget | |
RUN wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | |
RUN tar -xvzf ruby-2.1.2.tar.gz | |
RUN cd ruby-2.1.2 && ./configure --prefix=/usr/local | |
RUN cd ruby-2.1.2 && make | |
RUN cd ruby-2.1.2 && make install | |
# Install Bundler | |
RUN gem install bundler | |
# Install application system dependencies | |
RUN apt-get update | |
RUN apt-get install -y libgtkmm-2.4 libsasl2-dev | |
RUN apt-get install -y mysql-client mysql-common curl libmysqlclient-dev | |
RUN apt-get install -y libnotify-dev imagemagick | |
RUN apt-get install -y libglib2.0-bin | |
RUN apt-get install -y git-core curl | |
RUN apt-get install -y git gcc g++ automake flex bison ruby1.9.1-dev llvm-dev | |
RUN apt-get install -y libgdbm-dev libreadline-dev libncurses5-dev | |
# Install Rubinius | |
RUN wget http://releases.rubini.us/rubinius-2.2.9.tar.bz2 | |
RUN tar -xvjf rubinius-2.2.9.tar.bz2 | |
RUN cd rubinius-2.2.9 && bundle | |
RUN cd rubinius-2.2.9 && ./configure --prefix=/opt/rubies/rubinius-2.2.9 | |
RUN cd rubinius-2.2.9 && rake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failing with the following error: